objects

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package objects contains the generated Sophos object types

This file was generated by bin/gen.go! DO NOT EDIT!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aaa

type Aaa struct {
	AaaGroup AaaGroup `json:"aaa_group"`
	AaaUser  AaaUser  `json:"aaa_user"`
}

Aaa is a generated struct representing the Sophos Aaa Endpoint GET /api/nodes/aaa

func (Aaa) ApiRoutes

func (Aaa) ApiRoutes() []string

ApiRoutes returns all known Aaa Paths

func (Aaa) Definition

func (Aaa) Definition() sophos.Definition

Definition returns the /api/definitions struct of Aaa

func (*Aaa) GetPath

func (*Aaa) GetPath() string

GetPath implements sophos.RestGetter

func (*Aaa) RefRequired

func (*Aaa) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Aaa) References

func (Aaa) References() []string

References returns the Aaa's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Aaa) RestObjects

func (Aaa) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Aaa's Objects

type AaaGroup

type AaaGroup struct {
	Locked               string        `json:"_locked"`
	Reference            string        `json:"_ref"`
	ObjectType           string        `json:"_type"`
	AdirectoryGroups     []interface{} `json:"adirectory_groups"`
	AdirectoryGroupsSids struct{}      `json:"adirectory_groups_sids"`
	BackendMatch         string        `json:"backend_match"`
	Comment              string        `json:"comment"`
	Dynamic              string        `json:"dynamic"`
	EdirectoryGroups     []interface{} `json:"edirectory_groups"`
	IpsecDn              string        `json:"ipsec_dn"`
	LdapAttribute        string        `json:"ldap_attribute"`
	LdapAttributeValue   string        `json:"ldap_attribute_value"`
	Members              []string      `json:"members"`
	Name                 string        `json:"name"`
	Network              string        `json:"network"`
	RadiusGroups         []interface{} `json:"radius_groups"`
	TacacsGroups         []interface{} `json:"tacacs_groups"`
}

AaaGroup is a generated Sophos object

func (*AaaGroup) DeletePath

func (*AaaGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AaaGroup DELETE path Creates or updates the complete object group

func (*AaaGroup) GetPath

func (a *AaaGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AaaGroups GET path Returns all available group types

func (*AaaGroup) GetType

func (a *AaaGroup) GetType() string

GetType implements sophos.Object

func (*AaaGroup) PatchPath

func (*AaaGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AaaGroup PATCH path Changes to parts of the object group types

func (*AaaGroup) PostPath

func (*AaaGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AaaGroup POST path Create a new aaa/group object

func (*AaaGroup) PutPath

func (*AaaGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AaaGroup PUT path Creates or updates the complete object group

func (*AaaGroup) RefRequired

func (a *AaaGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AaaGroup) UsedByPath

func (*AaaGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AaaGroups

type AaaGroups []AaaGroup

AaaGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AaaGroups) GetPath

func (*AaaGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AaaGroups GET path Returns all available aaa/group objects

func (*AaaGroups) RefRequired

func (*AaaGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AaaUser

type AaaUser struct {
	Locked           string        `json:"_locked"`
	Reference        string        `json:"_ref"`
	ObjectType       string        `json:"_type"`
	AccManaged       bool          `json:"acc_managed"`
	AllowedNetworks  []string      `json:"allowed_networks"`
	Authentication   string        `json:"authentication"`
	BackendUpdate    bool          `json:"backend_update"`
	Clearpass        string        `json:"clearpass"`
	Comment          string        `json:"comment"`
	EmailPrimary     string        `json:"email_primary"`
	EmailSecondary   []interface{} `json:"email_secondary"`
	Enabled          bool          `json:"enabled"`
	LastauthBackend  string        `json:"lastauth_backend"`
	LastauthFacility string        `json:"lastauth_facility"`
	LastauthTime     int64         `json:"lastauth_time"`
	Loc              string        `json:"loc"`
	Md4hash          string        `json:"md4hash"`
	Name             string        `json:"name"`
	Network          string        `json:"network"`
	Pop3Accounts     []interface{} `json:"pop3_accounts"`
	RasIP            string        `json:"ras_ip"`
	RasOnline        bool          `json:"ras_online"`
	Realname         string        `json:"realname"`
	SenderBlacklist  []interface{} `json:"sender_blacklist"`
	SenderWhitelist  []interface{} `json:"sender_whitelist"`
	Status           bool          `json:"status"`
	UseRasIP         bool          `json:"use_ras_ip"`
	UserPreferences  string        `json:"user_preferences"`
	X509Cert         string        `json:"x509_cert"`
	X509CertGost     string        `json:"x509_cert_gost"`
}

AaaUser is a generated Sophos object

func (*AaaUser) DeletePath

func (*AaaUser) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AaaUser DELETE path Creates or updates the complete object user

func (*AaaUser) GetPath

func (a *AaaUser) GetPath() string

GetPath implements sophos.RestObject and returns the AaaUsers GET path Returns all available user types

func (*AaaUser) GetType

func (a *AaaUser) GetType() string

GetType implements sophos.Object

func (*AaaUser) PatchPath

func (*AaaUser) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AaaUser PATCH path Changes to parts of the object user types

func (*AaaUser) PostPath

func (*AaaUser) PostPath() string

PostPath implements sophos.RestObject and returns the AaaUser POST path Create a new aaa/user object

func (*AaaUser) PutPath

func (*AaaUser) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AaaUser PUT path Creates or updates the complete object user

func (*AaaUser) RefRequired

func (a *AaaUser) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AaaUser) UsedByPath

func (*AaaUser) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AaaUsers

type AaaUsers []AaaUser

AaaUsers is an Sophos Endpoint subType and implements sophos.RestObject

func (*AaaUsers) GetPath

func (*AaaUsers) GetPath() string

GetPath implements sophos.RestObject and returns the AaaUsers GET path Returns all available aaa/user objects

func (*AaaUsers) RefRequired

func (*AaaUsers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AmazonVpc

type AmazonVpc struct {
	AutoPfrule  int64    `json:"auto_pfrule"`
	Connections []string `json:"connections"`
	Networks    []string `json:"networks"`
	Status      int64    `json:"status"`
}

AmazonVpc is a generated struct representing the Sophos AmazonVpc Endpoint GET /api/nodes/amazon_vpc

func (AmazonVpc) ApiRoutes

func (AmazonVpc) ApiRoutes() []string

ApiRoutes returns all known AmazonVpc Paths

func (AmazonVpc) Definition

func (AmazonVpc) Definition() sophos.Definition

Definition returns the /api/definitions struct of AmazonVpc

func (*AmazonVpc) GetPath

func (*AmazonVpc) GetPath() string

GetPath implements sophos.RestGetter

func (*AmazonVpc) RefRequired

func (*AmazonVpc) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (AmazonVpc) References

func (AmazonVpc) References() []string

References returns the AmazonVpc's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (AmazonVpc) RestObjects

func (AmazonVpc) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of AmazonVpc's Objects

type AmazonVpcConnection

type AmazonVpcConnection struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	Dev        string   `json:"dev"`
	ID         string   `json:"id"`
	Name       string   `json:"name"`
	Region     string   `json:"region"`
	Status     bool     `json:"status"`
	Tunnel     []string `json:"tunnel"`
	VpcGateway string   `json:"vpc_gateway"`
	VpcID      string   `json:"vpc_id"`
	VpcNetmask int64    `json:"vpc_netmask"`
	VpcNetwork string   `json:"vpc_network"`
}

AmazonVpcConnection is a generated Sophos object

func (*AmazonVpcConnection) DeletePath

func (*AmazonVpcConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AmazonVpcConnection DELETE path Creates or updates the complete object connection

func (*AmazonVpcConnection) GetPath

func (a *AmazonVpcConnection) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcConnections GET path Returns all available connection types

func (*AmazonVpcConnection) GetType

func (a *AmazonVpcConnection) GetType() string

GetType implements sophos.Object

func (*AmazonVpcConnection) PatchPath

func (*AmazonVpcConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AmazonVpcConnection PATCH path Changes to parts of the object connection types

func (*AmazonVpcConnection) PostPath

func (*AmazonVpcConnection) PostPath() string

PostPath implements sophos.RestObject and returns the AmazonVpcConnection POST path Create a new amazon_vpc/connection object

func (*AmazonVpcConnection) PutPath

func (*AmazonVpcConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AmazonVpcConnection PUT path Creates or updates the complete object connection

func (*AmazonVpcConnection) RefRequired

func (a *AmazonVpcConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AmazonVpcConnection) UsedByPath

func (*AmazonVpcConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AmazonVpcConnections

type AmazonVpcConnections []AmazonVpcConnection

AmazonVpcConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*AmazonVpcConnections) GetPath

func (*AmazonVpcConnections) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcConnections GET path Returns all available amazon_vpc/connection objects

func (*AmazonVpcConnections) RefRequired

func (*AmazonVpcConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AmazonVpcGroup

type AmazonVpcGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

AmazonVpcGroup represents a UTM group

func (*AmazonVpcGroup) DeletePath

func (*AmazonVpcGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AmazonVpcGroup DELETE path Creates or updates the complete object group

func (*AmazonVpcGroup) GetPath

func (a *AmazonVpcGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcGroups GET path Returns all available group types

func (*AmazonVpcGroup) PatchPath

func (*AmazonVpcGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AmazonVpcGroup PATCH path Changes to parts of the object group types

func (*AmazonVpcGroup) PostPath

func (*AmazonVpcGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AmazonVpcGroup POST path Create a new amazon_vpc/group object

func (*AmazonVpcGroup) PutPath

func (*AmazonVpcGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AmazonVpcGroup PUT path Creates or updates the complete object group

func (*AmazonVpcGroup) RefRequired

func (a *AmazonVpcGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AmazonVpcGroup) UsedByPath

func (*AmazonVpcGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AmazonVpcGroups added in v0.1.1

type AmazonVpcGroups []AmazonVpcGroup

AmazonVpcGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AmazonVpcGroups) GetPath added in v0.1.1

func (*AmazonVpcGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcGroups GET path Returns all available amazon_vpc/group objects

func (*AmazonVpcGroups) RefRequired added in v0.1.1

func (*AmazonVpcGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AmazonVpcTunnel

type AmazonVpcTunnel struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Bgp        string `json:"bgp"`
	Comment    string `json:"comment"`
	Ipsec      string `json:"ipsec"`
	Name       string `json:"name"`
	Netmask    int64  `json:"netmask"`
}

AmazonVpcTunnel is a generated Sophos object

func (*AmazonVpcTunnel) DeletePath

func (*AmazonVpcTunnel) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AmazonVpcTunnel DELETE path Creates or updates the complete object tunnel

func (*AmazonVpcTunnel) GetPath

func (a *AmazonVpcTunnel) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcTunnels GET path Returns all available tunnel types

func (*AmazonVpcTunnel) GetType

func (a *AmazonVpcTunnel) GetType() string

GetType implements sophos.Object

func (*AmazonVpcTunnel) PatchPath

func (*AmazonVpcTunnel) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AmazonVpcTunnel PATCH path Changes to parts of the object tunnel types

func (*AmazonVpcTunnel) PostPath

func (*AmazonVpcTunnel) PostPath() string

PostPath implements sophos.RestObject and returns the AmazonVpcTunnel POST path Create a new amazon_vpc/tunnel object

func (*AmazonVpcTunnel) PutPath

func (*AmazonVpcTunnel) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AmazonVpcTunnel PUT path Creates or updates the complete object tunnel

func (*AmazonVpcTunnel) RefRequired

func (a *AmazonVpcTunnel) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AmazonVpcTunnel) UsedByPath

func (*AmazonVpcTunnel) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AmazonVpcTunnels

type AmazonVpcTunnels []AmazonVpcTunnel

AmazonVpcTunnels is an Sophos Endpoint subType and implements sophos.RestObject

func (*AmazonVpcTunnels) GetPath

func (*AmazonVpcTunnels) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcTunnels GET path Returns all available amazon_vpc/tunnel objects

func (*AmazonVpcTunnels) RefRequired

func (*AmazonVpcTunnels) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ApplicationControl

type ApplicationControl struct {
	ApplicationControlGroup ApplicationControlGroup `json:"application_control_group"`
	ApplicationControlRule  ApplicationControlRule  `json:"application_control_rule"`
}

ApplicationControl is a generated struct representing the Sophos ApplicationControl Endpoint GET /api/nodes/application_control

func (ApplicationControl) ApiRoutes

func (ApplicationControl) ApiRoutes() []string

ApiRoutes returns all known ApplicationControl Paths

func (ApplicationControl) Definition

func (ApplicationControl) Definition() sophos.Definition

Definition returns the /api/definitions struct of ApplicationControl

func (*ApplicationControl) GetPath

func (*ApplicationControl) GetPath() string

GetPath implements sophos.RestGetter

func (*ApplicationControl) RefRequired

func (*ApplicationControl) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (ApplicationControl) References

func (ApplicationControl) References() []string

References returns the ApplicationControl's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (ApplicationControl) RestObjects

func (ApplicationControl) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of ApplicationControl's Objects

type ApplicationControlGroup

type ApplicationControlGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ApplicationControlGroup represents a UTM group

func (*ApplicationControlGroup) DeletePath

func (*ApplicationControlGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ApplicationControlGroup DELETE path Creates or updates the complete object group

func (*ApplicationControlGroup) GetPath

func (a *ApplicationControlGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlGroups GET path Returns all available group types

func (*ApplicationControlGroup) PatchPath

func (*ApplicationControlGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ApplicationControlGroup PATCH path Changes to parts of the object group types

func (*ApplicationControlGroup) PostPath

func (*ApplicationControlGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ApplicationControlGroup POST path Create a new application_control/group object

func (*ApplicationControlGroup) PutPath

func (*ApplicationControlGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ApplicationControlGroup PUT path Creates or updates the complete object group

func (*ApplicationControlGroup) RefRequired

func (a *ApplicationControlGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ApplicationControlGroup) UsedByPath

func (*ApplicationControlGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ApplicationControlGroups added in v0.1.1

type ApplicationControlGroups []ApplicationControlGroup

ApplicationControlGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ApplicationControlGroups) GetPath added in v0.1.1

func (*ApplicationControlGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlGroups GET path Returns all available application_control/group objects

func (*ApplicationControlGroups) RefRequired added in v0.1.1

func (*ApplicationControlGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ApplicationControlRule

type ApplicationControlRule struct {
	Locked                  string        `json:"_locked"`
	Reference               string        `json:"_ref"`
	ObjectType              string        `json:"_type"`
	Action                  string        `json:"action"`
	Applications            []string      `json:"applications"`
	Comment                 string        `json:"comment"`
	DestinationNetworks     []string      `json:"destination_networks"`
	Group                   string        `json:"group"`
	GroupFilterProductivity int64         `json:"group_filter_productivity"`
	GroupFilterRisk         int64         `json:"group_filter_risk"`
	Groups                  []interface{} `json:"groups"`
	Log                     bool          `json:"log"`
	Name                    string        `json:"name"`
	SourceNetworks          []string      `json:"source_networks"`
	Status                  bool          `json:"status"`
}

ApplicationControlRule is a generated Sophos object

func (*ApplicationControlRule) DeletePath

func (*ApplicationControlRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ApplicationControlRule DELETE path Creates or updates the complete object rule

func (*ApplicationControlRule) GetPath

func (a *ApplicationControlRule) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlRules GET path Returns all available rule types

func (*ApplicationControlRule) GetType

func (a *ApplicationControlRule) GetType() string

GetType implements sophos.Object

func (*ApplicationControlRule) PatchPath

func (*ApplicationControlRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ApplicationControlRule PATCH path Changes to parts of the object rule types

func (*ApplicationControlRule) PostPath

func (*ApplicationControlRule) PostPath() string

PostPath implements sophos.RestObject and returns the ApplicationControlRule POST path Create a new application_control/rule object

func (*ApplicationControlRule) PutPath

func (*ApplicationControlRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ApplicationControlRule PUT path Creates or updates the complete object rule

func (*ApplicationControlRule) RefRequired

func (a *ApplicationControlRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ApplicationControlRule) UsedByPath

func (*ApplicationControlRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ApplicationControlRules

type ApplicationControlRules []ApplicationControlRule

ApplicationControlRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*ApplicationControlRules) GetPath

func (*ApplicationControlRules) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlRules GET path Returns all available application_control/rule objects

func (*ApplicationControlRules) RefRequired

func (*ApplicationControlRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Authentication

type Authentication struct {
	AuthenticationAdirectory AuthenticationAdirectory `json:"authentication_adirectory"`
	AuthenticationEdirectory AuthenticationEdirectory `json:"authentication_edirectory"`
	AuthenticationGroup      AuthenticationGroup      `json:"authentication_group"`
	AuthenticationLdap       AuthenticationLdap       `json:"authentication_ldap"`
	AuthenticationOtpToken   AuthenticationOtpToken   `json:"authentication_otp_token"`
	AuthenticationRadius     AuthenticationRadius     `json:"authentication_radius"`
	AuthenticationTacacs     AuthenticationTacacs     `json:"authentication_tacacs"`
}

Authentication is a generated struct representing the Sophos Authentication Endpoint GET /api/nodes/authentication

func (Authentication) ApiRoutes

func (Authentication) ApiRoutes() []string

ApiRoutes returns all known Authentication Paths

func (Authentication) Definition

func (Authentication) Definition() sophos.Definition

Definition returns the /api/definitions struct of Authentication

func (*Authentication) GetPath

func (*Authentication) GetPath() string

GetPath implements sophos.RestGetter

func (*Authentication) RefRequired

func (*Authentication) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Authentication) References

func (Authentication) References() []string

References returns the Authentication's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Authentication) RestObjects

func (Authentication) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Authentication's Objects

type AuthenticationAdirectory

type AuthenticationAdirectory struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Ssl default value is false
	Ssl     bool `json:"ssl"`
	Timeout int  `json:"timeout"`
	// BaseDn default value is ""
	BaseDn string `json:"base_dn"`
	// BindPw default value is ""
	BindPw string `json:"bind_pw"`
	// Server description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Server string `json:"server"`
	// PrefetchBackendSync default value is false
	PrefetchBackendSync bool `json:"prefetch_backend_sync"`
	// BindDn default value is ""
	BindDn  string `json:"bind_dn"`
	Comment string `json:"comment"`
	Port    int    `json:"port"`
	// Status default value is false
	Status bool `json:"status"`
	// Backend default value is ""
	Backend          string        `json:"backend"`
	Name             string        `json:"name"`
	PrefetchInterval []interface{} `json:"prefetch_interval"`
	PrefetchContexts []interface{} `json:"prefetch_contexts"`
	// Sasl default value is false
	Sasl bool `json:"sasl"`
}

AuthenticationAdirectory represents a UTM Microsoft Active Directory server

func (*AuthenticationAdirectory) DeletePath

func (*AuthenticationAdirectory) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationAdirectory DELETE path Creates or updates the complete object adirectory

func (*AuthenticationAdirectory) GetPath

func (a *AuthenticationAdirectory) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationAdirectorys GET path Returns all available adirectory types

func (*AuthenticationAdirectory) PatchPath

func (*AuthenticationAdirectory) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationAdirectory PATCH path Changes to parts of the object adirectory types

func (*AuthenticationAdirectory) PostPath

func (*AuthenticationAdirectory) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationAdirectory POST path Create a new authentication/adirectory object

func (*AuthenticationAdirectory) PutPath

func (*AuthenticationAdirectory) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationAdirectory PUT path Creates or updates the complete object adirectory

func (*AuthenticationAdirectory) RefRequired

func (a *AuthenticationAdirectory) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationAdirectory) UsedByPath

func (*AuthenticationAdirectory) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationAdirectorys added in v0.1.1

type AuthenticationAdirectorys []AuthenticationAdirectory

AuthenticationAdirectorys is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationAdirectorys) GetPath added in v0.1.1

func (*AuthenticationAdirectorys) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationAdirectorys GET path Returns all available authentication/adirectory objects

func (*AuthenticationAdirectorys) RefRequired added in v0.1.1

func (*AuthenticationAdirectorys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AuthenticationEdirectory

type AuthenticationEdirectory struct {
	Locked           string        `json:"_locked"`
	ObjectType       string        `json:"_type"`
	Reference        string        `json:"_ref"`
	PrefetchInterval []interface{} `json:"prefetch_interval"`
	// Ssl default value is true
	Ssl  bool   `json:"ssl"`
	Name string `json:"name"`
	// BindDn default value is ""
	BindDn           string        `json:"bind_dn"`
	Port             int           `json:"port"`
	PrefetchContexts []interface{} `json:"prefetch_contexts"`
	Timeout          int           `json:"timeout"`
	// Backend default value is ""
	Backend string `json:"backend"`
	// PrefetchBackendSync default value is false
	PrefetchBackendSync bool `json:"prefetch_backend_sync"`
	// Server description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Server string `json:"server"`
	// BindPw default value is ""
	BindPw   string        `json:"bind_pw"`
	Contexts []interface{} `json:"contexts"`
	// Sasl default value is false
	Sasl bool `json:"sasl"`
	// Status default value is false
	Status  bool   `json:"status"`
	Comment string `json:"comment"`
}

AuthenticationEdirectory represents a UTM Novell eDirectory server

func (*AuthenticationEdirectory) DeletePath

func (*AuthenticationEdirectory) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationEdirectory DELETE path Creates or updates the complete object edirectory

func (*AuthenticationEdirectory) GetPath

func (a *AuthenticationEdirectory) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationEdirectorys GET path Returns all available edirectory types

func (*AuthenticationEdirectory) PatchPath

func (*AuthenticationEdirectory) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationEdirectory PATCH path Changes to parts of the object edirectory types

func (*AuthenticationEdirectory) PostPath

func (*AuthenticationEdirectory) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationEdirectory POST path Create a new authentication/edirectory object

func (*AuthenticationEdirectory) PutPath

func (*AuthenticationEdirectory) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationEdirectory PUT path Creates or updates the complete object edirectory

func (*AuthenticationEdirectory) RefRequired

func (a *AuthenticationEdirectory) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationEdirectory) UsedByPath

func (*AuthenticationEdirectory) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationEdirectorys added in v0.1.1

type AuthenticationEdirectorys []AuthenticationEdirectory

AuthenticationEdirectorys is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationEdirectorys) GetPath added in v0.1.1

func (*AuthenticationEdirectorys) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationEdirectorys GET path Returns all available authentication/edirectory objects

func (*AuthenticationEdirectorys) RefRequired added in v0.1.1

func (*AuthenticationEdirectorys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AuthenticationGroup

type AuthenticationGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

AuthenticationGroup represents a UTM group

func (*AuthenticationGroup) DeletePath

func (*AuthenticationGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationGroup DELETE path Creates or updates the complete object group

func (*AuthenticationGroup) GetPath

func (a *AuthenticationGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationGroups GET path Returns all available group types

func (*AuthenticationGroup) PatchPath

func (*AuthenticationGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationGroup PATCH path Changes to parts of the object group types

func (*AuthenticationGroup) PostPath

func (*AuthenticationGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationGroup POST path Create a new authentication/group object

func (*AuthenticationGroup) PutPath

func (*AuthenticationGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationGroup PUT path Creates or updates the complete object group

func (*AuthenticationGroup) RefRequired

func (a *AuthenticationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationGroup) UsedByPath

func (*AuthenticationGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationGroups added in v0.1.1

type AuthenticationGroups []AuthenticationGroup

AuthenticationGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationGroups) GetPath added in v0.1.1

func (*AuthenticationGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationGroups GET path Returns all available authentication/group objects

func (*AuthenticationGroups) RefRequired added in v0.1.1

func (*AuthenticationGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AuthenticationLdap

type AuthenticationLdap struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Sasl default value is false
	Sasl bool `json:"sasl"`
	// Ssl default value is false
	Ssl              bool          `json:"ssl"`
	PrefetchContexts []interface{} `json:"prefetch_contexts"`
	Port             int           `json:"port"`
	// PrefetchBackendSync default value is false
	PrefetchBackendSync bool `json:"prefetch_backend_sync"`
	// Server description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Server string `json:"server"`
	// Status default value is false
	Status bool `json:"status"`
	// UserAttrib can be one of: []string{"cn", "sn", "uid", "custom"}
	// UserAttrib default value is "cn"
	UserAttrib string `json:"user_attrib"`
	// UserAttribCustom default value is ""
	UserAttribCustom string `json:"user_attrib_custom"`
	// BindDn default value is ""
	BindDn           string        `json:"bind_dn"`
	Comment          string        `json:"comment"`
	Name             string        `json:"name"`
	PrefetchInterval []interface{} `json:"prefetch_interval"`
	Timeout          int           `json:"timeout"`
	// Backend default value is ""
	Backend string `json:"backend"`
	// BindPw default value is ""
	BindPw string `json:"bind_pw"`
	// BaseDn default value is ""
	BaseDn string `json:"base_dn"`
}

AuthenticationLdap represents a UTM LDAP server

func (*AuthenticationLdap) DeletePath

func (*AuthenticationLdap) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationLdap DELETE path Creates or updates the complete object ldap

func (*AuthenticationLdap) GetPath

func (a *AuthenticationLdap) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationLdaps GET path Returns all available ldap types

func (*AuthenticationLdap) PatchPath

func (*AuthenticationLdap) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationLdap PATCH path Changes to parts of the object ldap types

func (*AuthenticationLdap) PostPath

func (*AuthenticationLdap) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationLdap POST path Create a new authentication/ldap object

func (*AuthenticationLdap) PutPath

func (*AuthenticationLdap) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationLdap PUT path Creates or updates the complete object ldap

func (*AuthenticationLdap) RefRequired

func (a *AuthenticationLdap) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationLdap) UsedByPath

func (*AuthenticationLdap) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationLdaps added in v0.1.1

type AuthenticationLdaps []AuthenticationLdap

AuthenticationLdaps is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationLdaps) GetPath added in v0.1.1

func (*AuthenticationLdaps) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationLdaps GET path Returns all available authentication/ldap objects

func (*AuthenticationLdaps) RefRequired added in v0.1.1

func (*AuthenticationLdaps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AuthenticationOtpToken

type AuthenticationOtpToken struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Status default value is false
	Status bool `json:"status"`
	// Timestep description: Constraints: 0, 10-120
	Timestep   int           `json:"timestep"`
	ExtraCodes []interface{} `json:"extra_codes"`
	// ForSsh default value is false
	ForSsh  bool   `json:"for_ssh"`
	Lastuse int    `json:"lastuse"`
	Name    string `json:"name"`
	Offset  int    `json:"offset"`
	Secret  string `json:"secret"`
	// User description: REF(aaa/user)
	// User default value is ""
	User    string `json:"user"`
	Comment string `json:"comment"`
	// Digest can be one of: []string{"sha1", "sha256", "sha512"}
	// Digest default value is "sha1"
	Digest string `json:"digest"`
	// Hide default value is false
	Hide bool `json:"hide"`
}

AuthenticationOtpToken represents a UTM One Time Password token

func (*AuthenticationOtpToken) DeletePath

func (*AuthenticationOtpToken) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationOtpToken DELETE path Creates or updates the complete object otp_token

func (*AuthenticationOtpToken) GetPath

func (a *AuthenticationOtpToken) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationOtpTokens GET path Returns all available otp_token types

func (*AuthenticationOtpToken) PatchPath

func (*AuthenticationOtpToken) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationOtpToken PATCH path Changes to parts of the object otp_token types

func (*AuthenticationOtpToken) PostPath

func (*AuthenticationOtpToken) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationOtpToken POST path Create a new authentication/otp_token object

func (*AuthenticationOtpToken) PutPath

func (*AuthenticationOtpToken) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationOtpToken PUT path Creates or updates the complete object otp_token

func (*AuthenticationOtpToken) RefRequired

func (a *AuthenticationOtpToken) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationOtpToken) UsedByPath

func (*AuthenticationOtpToken) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationOtpTokens added in v0.1.1

type AuthenticationOtpTokens []AuthenticationOtpToken

AuthenticationOtpTokens is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationOtpTokens) GetPath added in v0.1.1

func (*AuthenticationOtpTokens) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationOtpTokens GET path Returns all available authentication/otp_token objects

func (*AuthenticationOtpTokens) RefRequired added in v0.1.1

func (*AuthenticationOtpTokens) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AuthenticationRadius

type AuthenticationRadius struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Secret default value is ""
	Secret string `json:"secret"`
	// Server description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Server string `json:"server"`
	// Status default value is false
	Status  bool `json:"status"`
	Timeout int  `json:"timeout"`
	// Backend default value is ""
	Backend string `json:"backend"`
	Comment string `json:"comment"`
	Name    string `json:"name"`
	Port    int    `json:"port"`
}

AuthenticationRadius represents a UTM RADIUS server

func (*AuthenticationRadius) DeletePath

func (*AuthenticationRadius) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationRadius DELETE path Creates or updates the complete object radius

func (*AuthenticationRadius) GetPath

func (a *AuthenticationRadius) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationRadiuss GET path Returns all available radius types

func (*AuthenticationRadius) PatchPath

func (*AuthenticationRadius) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationRadius PATCH path Changes to parts of the object radius types

func (*AuthenticationRadius) PostPath

func (*AuthenticationRadius) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationRadius POST path Create a new authentication/radius object

func (*AuthenticationRadius) PutPath

func (*AuthenticationRadius) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationRadius PUT path Creates or updates the complete object radius

func (*AuthenticationRadius) RefRequired

func (a *AuthenticationRadius) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationRadius) UsedByPath

func (*AuthenticationRadius) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationRadiuss added in v0.1.1

type AuthenticationRadiuss []AuthenticationRadius

AuthenticationRadiuss is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationRadiuss) GetPath added in v0.1.1

func (*AuthenticationRadiuss) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationRadiuss GET path Returns all available authentication/radius objects

func (*AuthenticationRadiuss) RefRequired added in v0.1.1

func (*AuthenticationRadiuss) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AuthenticationTacacs

type AuthenticationTacacs struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Backend default value is ""
	Backend string `json:"backend"`
	Comment string `json:"comment"`
	// Key default value is ""
	Key  string `json:"key"`
	Name string `json:"name"`
	Port int    `json:"port"`
	// Server description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Server string `json:"server"`
	// Status default value is false
	Status  bool `json:"status"`
	Timeout int  `json:"timeout"`
}

AuthenticationTacacs represents a UTM TACACS+ server

func (*AuthenticationTacacs) DeletePath

func (*AuthenticationTacacs) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationTacacs DELETE path Creates or updates the complete object tacacs

func (*AuthenticationTacacs) GetPath

func (a *AuthenticationTacacs) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationTacacss GET path Returns all available tacacs types

func (*AuthenticationTacacs) PatchPath

func (*AuthenticationTacacs) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationTacacs PATCH path Changes to parts of the object tacacs types

func (*AuthenticationTacacs) PostPath

func (*AuthenticationTacacs) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationTacacs POST path Create a new authentication/tacacs object

func (*AuthenticationTacacs) PutPath

func (*AuthenticationTacacs) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationTacacs PUT path Creates or updates the complete object tacacs

func (*AuthenticationTacacs) RefRequired

func (a *AuthenticationTacacs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationTacacs) UsedByPath

func (*AuthenticationTacacs) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationTacacss added in v0.1.1

type AuthenticationTacacss []AuthenticationTacacs

AuthenticationTacacss is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationTacacss) GetPath added in v0.1.1

func (*AuthenticationTacacss) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationTacacss GET path Returns all available authentication/tacacs objects

func (*AuthenticationTacacss) RefRequired added in v0.1.1

func (*AuthenticationTacacss) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Awe

type Awe struct {
	AllowedInterfaces []interface{} `json:"allowed_interfaces"`
	Clients           []interface{} `json:"clients"`
	Devices           []interface{} `json:"devices"`
	Global            struct {
		ApAutoaccept        int64  `json:"ap_autoaccept"`
		ApDebuglevel        int64  `json:"ap_debuglevel"`
		ApSoftlimit         int64  `json:"ap_softlimit"`
		ApVlantag           int64  `json:"ap_vlantag"`
		AweStatus           int64  `json:"awe_status"`
		BridgeUpdateKickout int64  `json:"bridge_update_kickout"`
		InitialSetup        int64  `json:"initial_setup"`
		LogLevel            int64  `json:"log_level"`
		MagicIP             string `json:"magic_ip"`
		NotificationTimeout int64  `json:"notification_timeout"`
		RadiusConf          string `json:"radius_conf"`
		Rootpw              string `json:"rootpw"`
		StayOnline          int64  `json:"stay_online"`
		StoreBssStats       int64  `json:"store_bss_stats"`
		TunnelIDOffset      int64  `json:"tunnel_id_offset"`
		Vlantagging         int64  `json:"vlantagging"`
	} `json:"global"`
	Networks []string `json:"networks"`
}

Awe is a generated struct representing the Sophos Awe Endpoint GET /api/nodes/awe

func (Awe) ApiRoutes

func (Awe) ApiRoutes() []string

ApiRoutes returns all known Awe Paths

func (Awe) Definition

func (Awe) Definition() sophos.Definition

Definition returns the /api/definitions struct of Awe

func (*Awe) GetPath

func (*Awe) GetPath() string

GetPath implements sophos.RestGetter

func (*Awe) RefRequired

func (*Awe) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Awe) References

func (Awe) References() []string

References returns the Awe's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Awe) RestObjects

func (Awe) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Awe's Objects

type AweClient

type AweClient struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Lastseen   int    `json:"lastseen"`
	// Mac description: (MACADDR)
	// Mac default value is "00:00:00:00:00:00"
	Mac  string `json:"mac"`
	Name string `json:"name"`
	// Vendor default value is "unknown"
	Vendor string `json:"vendor"`
}

AweClient represents a UTM wireless client

func (*AweClient) DeletePath

func (*AweClient) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweClient DELETE path Creates or updates the complete object client

func (*AweClient) GetPath

func (a *AweClient) GetPath() string

GetPath implements sophos.RestObject and returns the AweClients GET path Returns all available client types

func (*AweClient) PatchPath

func (*AweClient) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweClient PATCH path Changes to parts of the object client types

func (*AweClient) PostPath

func (*AweClient) PostPath() string

PostPath implements sophos.RestObject and returns the AweClient POST path Create a new awe/client object

func (*AweClient) PutPath

func (*AweClient) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweClient PUT path Creates or updates the complete object client

func (*AweClient) RefRequired

func (a *AweClient) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweClient) UsedByPath

func (*AweClient) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweClients added in v0.1.1

type AweClients []AweClient

AweClients is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweClients) GetPath added in v0.1.1

func (*AweClients) GetPath() string

GetPath implements sophos.RestObject and returns the AweClients GET path Returns all available awe/client objects

func (*AweClients) RefRequired added in v0.1.1

func (*AweClients) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AweDevice

type AweDevice struct {
	Locked               string `json:"_locked"`
	ObjectType           string `json:"_type"`
	Reference            string `json:"_ref"`
	Name                 string `json:"name"`
	SchedScanInterval    int    `json:"sched_scan_interval"`
	SchedScanInterval11A int    `json:"sched_scan_interval11a"`
	// LastIp description: (IPADDR)
	// LastIp default value is ""
	LastIp   string `json:"last_ip"`
	MaxSsids int    `json:"max_ssids"`
	// MeshAbility default value is false
	MeshAbility bool `json:"mesh_ability"`
	// MeshAbility11A default value is false
	MeshAbility11A    bool          `json:"mesh_ability11a"`
	ScanInterval11A   int           `json:"scan_interval11a"`
	ActiveChannels    []interface{} `json:"active_channels"`
	ApLocaldebuglevel int           `json:"ap_localdebuglevel"`
	// Id default value is "Remote Wifi Device"
	Id string `json:"id"`
	// TunnelId default value is ""
	TunnelId string `json:"tunnel_id"`
	// TxPowerControl default value is false
	TxPowerControl bool `json:"tx_power_control"`
	// Type default value is ""
	Type string `json:"type"`
	// Country description: (REGEX)
	// Country default value is ""
	Country      string `json:"country"`
	ScanInterval int    `json:"scan_interval"`
	// Stp default value is false
	Stp bool `json:"stp"`
	// TimeScheduling11A default value is false
	TimeScheduling11A bool          `json:"time_scheduling11a"`
	AllowedCountries  []interface{} `json:"allowed_countries"`
	// Band can be one of: []string{"g", "a"}
	// Band default value is ""
	Band        string        `json:"band"`
	BridgeModes []interface{} `json:"bridge_modes"`
	// Location default value is ""
	Location string `json:"location"`
	// R0KhSecret default value is ""
	R0KhSecret string `json:"r0kh_secret"`
	// Vlantagging default value is false
	Vlantagging bool `json:"vlantagging"`
	// Enabled default value is false
	Enabled bool `json:"enabled"`
	// Interface description: REF(interface/*)
	// Interface default value is ""
	Interface string `json:"interface"`
	// LanMac description: (MACADDR)
	// LanMac default value is "00:00:00:00:00:00"
	LanMac     string `json:"lan_mac"`
	Txpower11A int    `json:"txpower11a"`
	Comment    string `json:"comment"`
	// MeshAbility11G default value is false
	MeshAbility11G bool          `json:"mesh_ability11g"`
	TimeSelect     []interface{} `json:"time_select"`
	AutoChannel11A int           `json:"auto_channel11a"`
	// ChannelWidth can be one of: []string{"HT20", "HT40"}
	// ChannelWidth default value is "HT20"
	ChannelWidth string `json:"channel_width"`
	// Key default value is ""
	Key string `json:"key"`
	// WifiMac description: (MACADDR)
	// WifiMac default value is "00:00:00:00:00:00"
	WifiMac string `json:"wifi_mac"`
	// AcAbility default value is false
	AcAbility       bool          `json:"ac_ability"`
	ApVlantag       int           `json:"ap_vlantag"`
	AutoChannel     int           `json:"auto_channel"`
	Txpower         int           `json:"txpower"`
	AllowedChannels []interface{} `json:"allowed_channels"`
	// ChannelWidth11A can be one of: []string{"HT20", "HT40", "VHT20", "VHT40", "VHT80"}
	// ChannelWidth11A default value is "HT20"
	ChannelWidth11A string `json:"channel_width11a"`
	// Status default value is false
	Status   bool          `json:"status"`
	Networks []interface{} `json:"networks"`
	// TimeScheduling default value is false
	TimeScheduling bool          `json:"time_scheduling"`
	TimeSelect11A  []interface{} `json:"time_select11a"`
	Channel        int           `json:"channel"`
	Channel11A     int           `json:"channel11a"`
	// DfsAbility default value is false
	DfsAbility bool `json:"dfs_ability"`
}

AweDevice represents a UTM wireless access point

func (*AweDevice) DeletePath

func (*AweDevice) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweDevice DELETE path Creates or updates the complete object device

func (*AweDevice) GetPath

func (a *AweDevice) GetPath() string

GetPath implements sophos.RestObject and returns the AweDevices GET path Returns all available device types

func (*AweDevice) PatchPath

func (*AweDevice) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweDevice PATCH path Changes to parts of the object device types

func (*AweDevice) PostPath

func (*AweDevice) PostPath() string

PostPath implements sophos.RestObject and returns the AweDevice POST path Create a new awe/device object

func (*AweDevice) PutPath

func (*AweDevice) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweDevice PUT path Creates or updates the complete object device

func (*AweDevice) RefRequired

func (a *AweDevice) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweDevice) UsedByPath

func (*AweDevice) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweDevices added in v0.1.1

type AweDevices []AweDevice

AweDevices is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweDevices) GetPath added in v0.1.1

func (*AweDevices) GetPath() string

GetPath implements sophos.RestObject and returns the AweDevices GET path Returns all available awe/device objects

func (*AweDevices) RefRequired added in v0.1.1

func (*AweDevices) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AweGroup

type AweGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

AweGroup represents a UTM group

func (*AweGroup) DeletePath

func (*AweGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweGroup DELETE path Creates or updates the complete object group

func (*AweGroup) GetPath

func (a *AweGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AweGroups GET path Returns all available group types

func (*AweGroup) PatchPath

func (*AweGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweGroup PATCH path Changes to parts of the object group types

func (*AweGroup) PostPath

func (*AweGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AweGroup POST path Create a new awe/group object

func (*AweGroup) PutPath

func (*AweGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweGroup PUT path Creates or updates the complete object group

func (*AweGroup) RefRequired

func (a *AweGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweGroup) UsedByPath

func (*AweGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweGroups added in v0.1.1

type AweGroups []AweGroup

AweGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweGroups) GetPath added in v0.1.1

func (*AweGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AweGroups GET path Returns all available awe/group objects

func (*AweGroups) RefRequired added in v0.1.1

func (*AweGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AweLocal

type AweLocal struct {
	Locked          string        `json:"_locked"`
	ObjectType      string        `json:"_type"`
	Reference       string        `json:"_ref"`
	AllowedChannels []interface{} `json:"allowed_channels"`
	Channel         int           `json:"channel"`
	// WifiMac description: (MACADDR)
	// WifiMac default value is "00:00:00:00:00:00"
	WifiMac        string        `json:"wifi_mac"`
	ActiveChannels []interface{} `json:"active_channels"`
	// Band can be one of: []string{"g", "a"}
	// Band default value is "g"
	Band        string        `json:"band"`
	BridgeModes []interface{} `json:"bridge_modes"`
	MaxSsids    int           `json:"max_ssids"`
	Networks    []interface{} `json:"networks"`
	// TimeScheduling default value is false
	TimeScheduling bool `json:"time_scheduling"`
	// TxPowerControl default value is false
	TxPowerControl bool `json:"tx_power_control"`
	Txpower        int  `json:"txpower"`
	// DfsAbility default value is false
	DfsAbility bool `json:"dfs_ability"`
	// Id default value is "Remote Wifi Device"
	Id string `json:"id"`
	// MeshAbility default value is false
	MeshAbility bool `json:"mesh_ability"`
	// MeshAbility11A default value is false
	MeshAbility11A bool `json:"mesh_ability11a"`
	// MeshAbility11G default value is false
	MeshAbility11G bool   `json:"mesh_ability11g"`
	Name           string `json:"name"`
	// Status default value is false
	Status            bool          `json:"status"`
	ApLocaldebuglevel int           `json:"ap_localdebuglevel"`
	AutoChannel       int           `json:"auto_channel"`
	Comment           string        `json:"comment"`
	ScanInterval      int           `json:"scan_interval"`
	SchedScanInterval int           `json:"sched_scan_interval"`
	TimeSelect        []interface{} `json:"time_select"`
	// Type default value is ""
	Type string `json:"type"`
}

AweLocal represents a UTM SG wifi

func (*AweLocal) DeletePath

func (*AweLocal) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweLocal DELETE path Creates or updates the complete object local

func (*AweLocal) GetPath

func (a *AweLocal) GetPath() string

GetPath implements sophos.RestObject and returns the AweLocals GET path Returns all available local types

func (*AweLocal) PatchPath

func (*AweLocal) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweLocal PATCH path Changes to parts of the object local types

func (*AweLocal) PostPath

func (*AweLocal) PostPath() string

PostPath implements sophos.RestObject and returns the AweLocal POST path Create a new awe/local object

func (*AweLocal) PutPath

func (*AweLocal) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweLocal PUT path Creates or updates the complete object local

func (*AweLocal) RefRequired

func (a *AweLocal) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweLocal) UsedByPath

func (*AweLocal) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweLocals added in v0.1.1

type AweLocals []AweLocal

AweLocals is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweLocals) GetPath added in v0.1.1

func (*AweLocals) GetPath() string

GetPath implements sophos.RestObject and returns the AweLocals GET path Returns all available awe/local objects

func (*AweLocals) RefRequired added in v0.1.1

func (*AweLocals) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AweNetworkDeviceAssociation

type AweNetworkDeviceAssociation struct {
	AweNetworkDeviceAssociationGroup    AweNetworkDeviceAssociationGroup    `json:"awe_network_device_association_group"`
	AweNetworkDeviceAssociationMeshRole AweNetworkDeviceAssociationMeshRole `json:"awe_network_device_association_mesh_role"`
}

AweNetworkDeviceAssociation is a generated struct representing the Sophos AweNetworkDeviceAssociation Endpoint GET /api/nodes/awe_network_device_association

func (AweNetworkDeviceAssociation) ApiRoutes

func (AweNetworkDeviceAssociation) ApiRoutes() []string

ApiRoutes returns all known AweNetworkDeviceAssociation Paths

func (AweNetworkDeviceAssociation) Definition

func (AweNetworkDeviceAssociation) Definition() sophos.Definition

Definition returns the /api/definitions struct of AweNetworkDeviceAssociation

func (*AweNetworkDeviceAssociation) GetPath

GetPath implements sophos.RestGetter

func (*AweNetworkDeviceAssociation) RefRequired

func (*AweNetworkDeviceAssociation) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (AweNetworkDeviceAssociation) References

func (AweNetworkDeviceAssociation) References() []string

References returns the AweNetworkDeviceAssociation's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (AweNetworkDeviceAssociation) RestObjects

func (AweNetworkDeviceAssociation) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of AweNetworkDeviceAssociation's Objects

type AweNetworkDeviceAssociationGroup

type AweNetworkDeviceAssociationGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

AweNetworkDeviceAssociationGroup represents a UTM group

func (*AweNetworkDeviceAssociationGroup) DeletePath

DeletePath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup DELETE path Creates or updates the complete object group

func (*AweNetworkDeviceAssociationGroup) GetPath

GetPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroups GET path Returns all available group types

func (*AweNetworkDeviceAssociationGroup) PatchPath

PatchPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup PATCH path Changes to parts of the object group types

func (*AweNetworkDeviceAssociationGroup) PostPath

PostPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup POST path Create a new awe_network_device_association/group object

func (*AweNetworkDeviceAssociationGroup) PutPath

PutPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup PUT path Creates or updates the complete object group

func (*AweNetworkDeviceAssociationGroup) RefRequired

func (a *AweNetworkDeviceAssociationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweNetworkDeviceAssociationGroup) UsedByPath

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweNetworkDeviceAssociationGroups added in v0.1.1

type AweNetworkDeviceAssociationGroups []AweNetworkDeviceAssociationGroup

AweNetworkDeviceAssociationGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweNetworkDeviceAssociationGroups) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroups GET path Returns all available awe_network_device_association/group objects

func (*AweNetworkDeviceAssociationGroups) RefRequired added in v0.1.1

func (*AweNetworkDeviceAssociationGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AweNetworkDeviceAssociationMeshRole

type AweNetworkDeviceAssociationMeshRole struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Role can be one of: []string{"point", "portal"}
	// Role default value is "portal"
	Role    string `json:"role"`
	Comment string `json:"comment"`
	// Device description: REF(awe/device)
	Device string `json:"device"`
	// Mesh description: REF(itfhw/awe_network)
	Mesh string `json:"mesh"`
	Name string `json:"name"`
}

AweNetworkDeviceAssociationMeshRole represents a UTM assign device to mesh network

func (*AweNetworkDeviceAssociationMeshRole) DeletePath

DeletePath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole DELETE path Creates or updates the complete object mesh_role

func (*AweNetworkDeviceAssociationMeshRole) GetPath

GetPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRoles GET path Returns all available mesh_role types

func (*AweNetworkDeviceAssociationMeshRole) PatchPath

PatchPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole PATCH path Changes to parts of the object mesh_role types

func (*AweNetworkDeviceAssociationMeshRole) PostPath

PostPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole POST path Create a new awe_network_device_association/mesh_role object

func (*AweNetworkDeviceAssociationMeshRole) PutPath

PutPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole PUT path Creates or updates the complete object mesh_role

func (*AweNetworkDeviceAssociationMeshRole) RefRequired

func (a *AweNetworkDeviceAssociationMeshRole) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweNetworkDeviceAssociationMeshRole) UsedByPath

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweNetworkDeviceAssociationMeshRoles added in v0.1.1

type AweNetworkDeviceAssociationMeshRoles []AweNetworkDeviceAssociationMeshRole

AweNetworkDeviceAssociationMeshRoles is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweNetworkDeviceAssociationMeshRoles) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRoles GET path Returns all available awe_network_device_association/mesh_role objects

func (*AweNetworkDeviceAssociationMeshRoles) RefRequired added in v0.1.1

RefRequired implements sophos.RestObject

type AweRed

type AweRed struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Band can be one of: []string{"g", "a"}
	// Band default value is "g"
	Band string `json:"band"`
	// R0KhSecret default value is ""
	R0KhSecret   string        `json:"r0kh_secret"`
	Channel      int           `json:"channel"`
	Networks     []interface{} `json:"networks"`
	ScanInterval int           `json:"scan_interval"`
	// TimeScheduling default value is false
	TimeScheduling bool `json:"time_scheduling"`
	// TxPowerControl default value is false
	TxPowerControl  bool          `json:"tx_power_control"`
	AllowedChannels []interface{} `json:"allowed_channels"`
	// DfsAbility default value is false
	DfsAbility bool `json:"dfs_ability"`
	// Enabled default value is false
	Enabled bool `json:"enabled"`
	// LastIp description: (IPADDR)
	// LastIp default value is ""
	LastIp            string `json:"last_ip"`
	ApLocaldebuglevel int    `json:"ap_localdebuglevel"`
	ApVlantag         int    `json:"ap_vlantag"`
	// Vlantagging default value is false
	Vlantagging bool `json:"vlantagging"`
	// Status default value is false
	Status         bool          `json:"status"`
	ActiveChannels []interface{} `json:"active_channels"`
	Comment        string        `json:"comment"`
	// Id default value is "Remote Wifi Device"
	Id string `json:"id"`
	// LanMac description: (MACADDR)
	// LanMac default value is "00:00:00:00:00:00"
	LanMac   string `json:"lan_mac"`
	MaxSsids int    `json:"max_ssids"`
	// AcAbility default value is false
	AcAbility        bool          `json:"ac_ability"`
	AllowedCountries []interface{} `json:"allowed_countries"`
	AutoChannel      int           `json:"auto_channel"`
	// Interface description: REF(interface/*)
	// Interface default value is ""
	Interface         string        `json:"interface"`
	Name              string        `json:"name"`
	SchedScanInterval int           `json:"sched_scan_interval"`
	Txpower           int           `json:"txpower"`
	BridgeModes       []interface{} `json:"bridge_modes"`
	// ChannelWidth can be one of: []string{"HT20", "HT40"}
	// ChannelWidth default value is "HT20"
	ChannelWidth string `json:"channel_width"`
	// Key default value is ""
	Key string `json:"key"`
	// Location default value is ""
	Location string `json:"location"`
	// MeshAbility default value is false
	MeshAbility bool `json:"mesh_ability"`
	// Type default value is ""
	Type string `json:"type"`
	// Country description: (REGEX)
	// Country default value is ""
	Country string `json:"country"`
	// ForcedCountry default value is ""
	ForcedCountry string        `json:"forced_country"`
	TimeSelect    []interface{} `json:"time_select"`
	// TunnelId default value is ""
	TunnelId string `json:"tunnel_id"`
	// WifiMac description: (MACADDR)
	// WifiMac default value is "00:00:00:00:00:00"
	WifiMac string `json:"wifi_mac"`
}

AweRed represents a UTM RED wifi

func (*AweRed) DeletePath

func (*AweRed) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweRed DELETE path Creates or updates the complete object red

func (*AweRed) GetPath

func (a *AweRed) GetPath() string

GetPath implements sophos.RestObject and returns the AweReds GET path Returns all available red types

func (*AweRed) PatchPath

func (*AweRed) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweRed PATCH path Changes to parts of the object red types

func (*AweRed) PostPath

func (*AweRed) PostPath() string

PostPath implements sophos.RestObject and returns the AweRed POST path Create a new awe/red object

func (*AweRed) PutPath

func (*AweRed) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweRed PUT path Creates or updates the complete object red

func (*AweRed) RefRequired

func (a *AweRed) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweRed) UsedByPath

func (*AweRed) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweReds added in v0.1.1

type AweReds []AweRed

AweReds is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweReds) GetPath added in v0.1.1

func (*AweReds) GetPath() string

GetPath implements sophos.RestObject and returns the AweReds GET path Returns all available awe/red objects

func (*AweReds) RefRequired added in v0.1.1

func (*AweReds) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Aws

type Aws struct {
	AwsGroup        AwsGroup        `json:"aws_group"`
	AwsInstanceType AwsInstanceType `json:"aws_instance_type"`
	AwsRegion       AwsRegion       `json:"aws_region"`
}

Aws is a generated struct representing the Sophos Aws Endpoint GET /api/nodes/aws

func (Aws) ApiRoutes

func (Aws) ApiRoutes() []string

ApiRoutes returns all known Aws Paths

func (Aws) Definition

func (Aws) Definition() sophos.Definition

Definition returns the /api/definitions struct of Aws

func (*Aws) GetPath

func (*Aws) GetPath() string

GetPath implements sophos.RestGetter

func (*Aws) RefRequired

func (*Aws) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Aws) References

func (Aws) References() []string

References returns the Aws's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Aws) RestObjects

func (Aws) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Aws's Objects

type AwsGroup

type AwsGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

AwsGroup represents a UTM aws->group

func (*AwsGroup) DeletePath

func (*AwsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwsGroup DELETE path Creates or updates the complete object group

func (*AwsGroup) GetPath

func (a *AwsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AwsGroups GET path Returns all available group types

func (*AwsGroup) PatchPath

func (*AwsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwsGroup PATCH path Changes to parts of the object group types

func (*AwsGroup) PostPath

func (*AwsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AwsGroup POST path Create a new aws/group object

func (*AwsGroup) PutPath

func (*AwsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwsGroup PUT path Creates or updates the complete object group

func (*AwsGroup) RefRequired

func (a *AwsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwsGroup) UsedByPath

func (*AwsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwsGroups added in v0.1.1

type AwsGroups []AwsGroup

AwsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwsGroups) GetPath added in v0.1.1

func (*AwsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AwsGroups GET path Returns all available aws/group objects

func (*AwsGroups) RefRequired added in v0.1.1

func (*AwsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AwsInstanceType

type AwsInstanceType struct {
	Locked             string      `json:"_locked"`
	Reference          string      `json:"_ref"`
	ObjectType         string      `json:"_type"`
	Comment            string      `json:"comment"`
	CPUCores           int64       `json:"cpu_cores"`
	Deprecated         bool        `json:"deprecated"`
	MemoryBytes        interface{} `json:"memory_bytes"`
	Model              string      `json:"model"`
	Name               string      `json:"name"`
	NetworkPerformance string      `json:"network_performance"`
}

AwsInstanceType is a generated Sophos object

func (*AwsInstanceType) DeletePath

func (*AwsInstanceType) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwsInstanceType DELETE path Creates or updates the complete object instance_type

func (*AwsInstanceType) GetPath

func (a *AwsInstanceType) GetPath() string

GetPath implements sophos.RestObject and returns the AwsInstanceTypes GET path Returns all available instance_type types

func (*AwsInstanceType) GetType

func (a *AwsInstanceType) GetType() string

GetType implements sophos.Object

func (*AwsInstanceType) PatchPath

func (*AwsInstanceType) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwsInstanceType PATCH path Changes to parts of the object instance_type types

func (*AwsInstanceType) PostPath

func (*AwsInstanceType) PostPath() string

PostPath implements sophos.RestObject and returns the AwsInstanceType POST path Create a new aws/instance_type object

func (*AwsInstanceType) PutPath

func (*AwsInstanceType) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwsInstanceType PUT path Creates or updates the complete object instance_type

func (*AwsInstanceType) RefRequired

func (a *AwsInstanceType) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwsInstanceType) UsedByPath

func (*AwsInstanceType) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwsInstanceTypes

type AwsInstanceTypes []AwsInstanceType

AwsInstanceTypes is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwsInstanceTypes) GetPath

func (*AwsInstanceTypes) GetPath() string

GetPath implements sophos.RestObject and returns the AwsInstanceTypes GET path Returns all available aws/instance_type objects

func (*AwsInstanceTypes) RefRequired

func (*AwsInstanceTypes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AwsRegion

type AwsRegion struct {
	Locked            string   `json:"_locked"`
	Reference         string   `json:"_ref"`
	ObjectType        string   `json:"_type"`
	AvailabilityZones []string `json:"availability_zones"`
	Code              string   `json:"code"`
	Comment           string   `json:"comment"`
	InstanceTypes     []string `json:"instance_types"`
	Name              string   `json:"name"`
	Partition         string   `json:"partition"`
}

AwsRegion is a generated Sophos object

func (*AwsRegion) DeletePath

func (*AwsRegion) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwsRegion DELETE path Creates or updates the complete object region

func (*AwsRegion) GetPath

func (a *AwsRegion) GetPath() string

GetPath implements sophos.RestObject and returns the AwsRegions GET path Returns all available region types

func (*AwsRegion) GetType

func (a *AwsRegion) GetType() string

GetType implements sophos.Object

func (*AwsRegion) PatchPath

func (*AwsRegion) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwsRegion PATCH path Changes to parts of the object region types

func (*AwsRegion) PostPath

func (*AwsRegion) PostPath() string

PostPath implements sophos.RestObject and returns the AwsRegion POST path Create a new aws/region object

func (*AwsRegion) PutPath

func (*AwsRegion) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwsRegion PUT path Creates or updates the complete object region

func (*AwsRegion) RefRequired

func (a *AwsRegion) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwsRegion) UsedByPath

func (*AwsRegion) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwsRegions

type AwsRegions []AwsRegion

AwsRegions is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwsRegions) GetPath

func (*AwsRegions) GetPath() string

GetPath implements sophos.RestObject and returns the AwsRegions GET path Returns all available aws/region objects

func (*AwsRegions) RefRequired

func (*AwsRegions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Awscli

type Awscli struct {
	Profiles []interface{} `json:"profiles"`
}

Awscli is a generated struct representing the Sophos Awscli Endpoint GET /api/nodes/awscli

func (Awscli) ApiRoutes

func (Awscli) ApiRoutes() []string

ApiRoutes returns all known Awscli Paths

func (Awscli) Definition

func (Awscli) Definition() sophos.Definition

Definition returns the /api/definitions struct of Awscli

func (*Awscli) GetPath

func (*Awscli) GetPath() string

GetPath implements sophos.RestGetter

func (*Awscli) RefRequired

func (*Awscli) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Awscli) References

func (Awscli) References() []string

References returns the Awscli's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Awscli) RestObjects

func (Awscli) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Awscli's Objects

type AwscliGroup

type AwscliGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
}

AwscliGroup represents a UTM awscli->group

func (*AwscliGroup) DeletePath

func (*AwscliGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwscliGroup DELETE path Creates or updates the complete object group

func (*AwscliGroup) GetPath

func (a *AwscliGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AwscliGroups GET path Returns all available group types

func (*AwscliGroup) PatchPath

func (*AwscliGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwscliGroup PATCH path Changes to parts of the object group types

func (*AwscliGroup) PostPath

func (*AwscliGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AwscliGroup POST path Create a new awscli/group object

func (*AwscliGroup) PutPath

func (*AwscliGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwscliGroup PUT path Creates or updates the complete object group

func (*AwscliGroup) RefRequired

func (a *AwscliGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwscliGroup) UsedByPath

func (*AwscliGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwscliGroups added in v0.1.1

type AwscliGroups []AwscliGroup

AwscliGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwscliGroups) GetPath added in v0.1.1

func (*AwscliGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AwscliGroups GET path Returns all available awscli/group objects

func (*AwscliGroups) RefRequired added in v0.1.1

func (*AwscliGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AwscliProfile

type AwscliProfile struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// AwsSecretAccessKey default value is ""
	AwsSecretAccessKey string `json:"aws_secret_access_key"`
	// AwsSessionToken default value is ""
	AwsSessionToken string `json:"aws_session_token"`
	Comment         string `json:"comment"`
	Name            string `json:"name"`
	// Output can be one of: []string{"json", "text", "table"}
	// Output default value is "json"
	Output string `json:"output"`
	// ProfileName description: (REGEX)
	// ProfileName default value is "default"
	ProfileName string `json:"profile_name"`
	// Region description: REF(aws/region)
	Region string `json:"region"`
	// AwsAccessKeyId description: (REGEX)
	// AwsAccessKeyId default value is ""
	AwsAccessKeyId string `json:"aws_access_key_id"`
}

AwscliProfile represents a UTM AWS CLI Profile

func (*AwscliProfile) DeletePath

func (*AwscliProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwscliProfile DELETE path Creates or updates the complete object profile

func (*AwscliProfile) GetPath

func (a *AwscliProfile) GetPath() string

GetPath implements sophos.RestObject and returns the AwscliProfiles GET path Returns all available profile types

func (*AwscliProfile) PatchPath

func (*AwscliProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwscliProfile PATCH path Changes to parts of the object profile types

func (*AwscliProfile) PostPath

func (*AwscliProfile) PostPath() string

PostPath implements sophos.RestObject and returns the AwscliProfile POST path Create a new awscli/profile object

func (*AwscliProfile) PutPath

func (*AwscliProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwscliProfile PUT path Creates or updates the complete object profile

func (*AwscliProfile) RefRequired

func (a *AwscliProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwscliProfile) UsedByPath

func (*AwscliProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwscliProfiles added in v0.1.1

type AwscliProfiles []AwscliProfile

AwscliProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwscliProfiles) GetPath added in v0.1.1

func (*AwscliProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the AwscliProfiles GET path Returns all available awscli/profile objects

func (*AwscliProfiles) RefRequired added in v0.1.1

func (*AwscliProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Bgp

type Bgp struct {
	BgpAmazonVpc BgpAmazonVpc `json:"bgp_amazon_vpc"`
	BgpFilter    BgpFilter    `json:"bgp_filter"`
	BgpGroup     BgpGroup     `json:"bgp_group"`
	BgpNeighbor  BgpNeighbor  `json:"bgp_neighbor"`
	BgpRouteMap  BgpRouteMap  `json:"bgp_route_map"`
	BgpSystem    BgpSystem    `json:"bgp_system"`
}

Bgp is a generated struct representing the Sophos Bgp Endpoint GET /api/nodes/bgp

func (Bgp) ApiRoutes

func (Bgp) ApiRoutes() []string

ApiRoutes returns all known Bgp Paths

func (Bgp) Definition

func (Bgp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Bgp

func (*Bgp) GetPath

func (*Bgp) GetPath() string

GetPath implements sophos.RestGetter

func (*Bgp) RefRequired

func (*Bgp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Bgp) References

func (Bgp) References() []string

References returns the Bgp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Bgp) RestObjects

func (Bgp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Bgp's Objects

type BgpAmazonVpc

type BgpAmazonVpc struct {
	Locked       string   `json:"_locked"`
	Reference    string   `json:"_ref"`
	ObjectType   string   `json:"_type"`
	Comment      string   `json:"comment"`
	Custom       string   `json:"custom"`
	Host         string   `json:"host"`
	ID           string   `json:"id"`
	LocalAsn     int64    `json:"local_asn"`
	MaximumPaths int64    `json:"maximum_paths"`
	Name         string   `json:"name"`
	Network      []string `json:"network"`
	RemoteAsn    int64    `json:"remote_asn"`
}

BgpAmazonVpc is a generated Sophos object

func (*BgpAmazonVpc) DeletePath

func (*BgpAmazonVpc) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpAmazonVpc DELETE path Creates or updates the complete object amazon_vpc

func (*BgpAmazonVpc) GetPath

func (b *BgpAmazonVpc) GetPath() string

GetPath implements sophos.RestObject and returns the BgpAmazonVpcs GET path Returns all available amazon_vpc types

func (*BgpAmazonVpc) GetType

func (b *BgpAmazonVpc) GetType() string

GetType implements sophos.Object

func (*BgpAmazonVpc) PatchPath

func (*BgpAmazonVpc) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpAmazonVpc PATCH path Changes to parts of the object amazon_vpc types

func (*BgpAmazonVpc) PostPath

func (*BgpAmazonVpc) PostPath() string

PostPath implements sophos.RestObject and returns the BgpAmazonVpc POST path Create a new bgp/amazon_vpc object

func (*BgpAmazonVpc) PutPath

func (*BgpAmazonVpc) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpAmazonVpc PUT path Creates or updates the complete object amazon_vpc

func (*BgpAmazonVpc) RefRequired

func (b *BgpAmazonVpc) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpAmazonVpc) UsedByPath

func (*BgpAmazonVpc) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpAmazonVpcs

type BgpAmazonVpcs []BgpAmazonVpc

BgpAmazonVpcs is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpAmazonVpcs) GetPath

func (*BgpAmazonVpcs) GetPath() string

GetPath implements sophos.RestObject and returns the BgpAmazonVpcs GET path Returns all available bgp/amazon_vpc objects

func (*BgpAmazonVpcs) RefRequired

func (*BgpAmazonVpcs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type BgpFilter

type BgpFilter struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Address    []interface{} `json:"address"`
	AsRegex    []interface{} `json:"as_regex"`
	Comment    string        `json:"comment"`
	Name       string        `json:"name"`
	// Type can be one of: []string{"as_number", "ip_address"}
	Type string `json:"type"`
	// Action can be one of: []string{"permit", "deny"}
	Action string `json:"action"`
}

BgpFilter represents a UTM BGP filter list

func (*BgpFilter) DeletePath

func (*BgpFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpFilter DELETE path Creates or updates the complete object filter

func (*BgpFilter) GetPath

func (b *BgpFilter) GetPath() string

GetPath implements sophos.RestObject and returns the BgpFilters GET path Returns all available filter types

func (*BgpFilter) PatchPath

func (*BgpFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpFilter PATCH path Changes to parts of the object filter types

func (*BgpFilter) PostPath

func (*BgpFilter) PostPath() string

PostPath implements sophos.RestObject and returns the BgpFilter POST path Create a new bgp/filter object

func (*BgpFilter) PutPath

func (*BgpFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpFilter PUT path Creates or updates the complete object filter

func (*BgpFilter) RefRequired

func (b *BgpFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpFilter) UsedByPath

func (*BgpFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpFilters added in v0.1.1

type BgpFilters []BgpFilter

BgpFilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpFilters) GetPath added in v0.1.1

func (*BgpFilters) GetPath() string

GetPath implements sophos.RestObject and returns the BgpFilters GET path Returns all available bgp/filter objects

func (*BgpFilters) RefRequired added in v0.1.1

func (*BgpFilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type BgpGroup

type BgpGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

BgpGroup represents a UTM group

func (*BgpGroup) DeletePath

func (*BgpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpGroup DELETE path Creates or updates the complete object group

func (*BgpGroup) GetPath

func (b *BgpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the BgpGroups GET path Returns all available group types

func (*BgpGroup) PatchPath

func (*BgpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpGroup PATCH path Changes to parts of the object group types

func (*BgpGroup) PostPath

func (*BgpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the BgpGroup POST path Create a new bgp/group object

func (*BgpGroup) PutPath

func (*BgpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpGroup PUT path Creates or updates the complete object group

func (*BgpGroup) RefRequired

func (b *BgpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpGroup) UsedByPath

func (*BgpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpGroups added in v0.1.1

type BgpGroups []BgpGroup

BgpGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpGroups) GetPath added in v0.1.1

func (*BgpGroups) GetPath() string

GetPath implements sophos.RestObject and returns the BgpGroups GET path Returns all available bgp/group objects

func (*BgpGroups) RefRequired added in v0.1.1

func (*BgpGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type BgpNeighbor

type BgpNeighbor struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Authentication can be one of: []string{"null", "password"}
	// Authentication default value is "null"
	Authentication string `json:"authentication"`
	// DefaultOriginate default value is false
	DefaultOriginate bool `json:"default_originate"`
	// SoftReconfiguration default value is true
	SoftReconfiguration bool `json:"soft_reconfiguration"`
	Weight              int  `json:"weight"`
	// Status default value is true
	Status  bool   `json:"status"`
	Comment string `json:"comment"`
	// Multihop default value is false
	Multihop bool `json:"multihop"`
	// Password description: (REGEX)
	Password string `json:"password"`
	// RouteIn description: REF(bgp/route_map)
	RouteIn string `json:"route_in"`
	Asn     int    `json:"asn"`
	// NextHopSelf default value is false
	NextHopSelf bool `json:"next_hop_self"`
	// RouteOut description: REF(bgp/route_map)
	RouteOut string `json:"route_out"`
	// FilterIn description: REF(bgp/filter)
	FilterIn string `json:"filter_in"`
	// FilterOut description: REF(bgp/filter)
	FilterOut string `json:"filter_out"`
	// Host description: REF(network/host)
	Host string `json:"host"`
	Name string `json:"name"`
}

BgpNeighbor represents a UTM BGP neighbor

func (*BgpNeighbor) DeletePath

func (*BgpNeighbor) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpNeighbor DELETE path Creates or updates the complete object neighbor

func (*BgpNeighbor) GetPath

func (b *BgpNeighbor) GetPath() string

GetPath implements sophos.RestObject and returns the BgpNeighbors GET path Returns all available neighbor types

func (*BgpNeighbor) PatchPath

func (*BgpNeighbor) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpNeighbor PATCH path Changes to parts of the object neighbor types

func (*BgpNeighbor) PostPath

func (*BgpNeighbor) PostPath() string

PostPath implements sophos.RestObject and returns the BgpNeighbor POST path Create a new bgp/neighbor object

func (*BgpNeighbor) PutPath

func (*BgpNeighbor) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpNeighbor PUT path Creates or updates the complete object neighbor

func (*BgpNeighbor) RefRequired

func (b *BgpNeighbor) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpNeighbor) UsedByPath

func (*BgpNeighbor) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpNeighbors added in v0.1.1

type BgpNeighbors []BgpNeighbor

BgpNeighbors is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpNeighbors) GetPath added in v0.1.1

func (*BgpNeighbors) GetPath() string

GetPath implements sophos.RestObject and returns the BgpNeighbors GET path Returns all available bgp/neighbor objects

func (*BgpNeighbors) RefRequired added in v0.1.1

func (*BgpNeighbors) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type BgpRouteMap

type BgpRouteMap struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Address    []interface{} `json:"address"`
	Metric     int           `json:"metric"`
	Name       string        `json:"name"`
	Preference int           `json:"preference"`
	// Prepend description: (REGEX)
	// Prepend default value is ""
	Prepend string `json:"prepend"`
	// Type can be one of: []string{"as_number", "ip_address"}
	Type    string        `json:"type"`
	AsRegex []interface{} `json:"as_regex"`
	Comment string        `json:"comment"`
	Weight  int           `json:"weight"`
}

BgpRouteMap represents a UTM route_map

func (*BgpRouteMap) DeletePath

func (*BgpRouteMap) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpRouteMap DELETE path Creates or updates the complete object route_map

func (*BgpRouteMap) GetPath

func (b *BgpRouteMap) GetPath() string

GetPath implements sophos.RestObject and returns the BgpRouteMaps GET path Returns all available route_map types

func (*BgpRouteMap) PatchPath

func (*BgpRouteMap) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpRouteMap PATCH path Changes to parts of the object route_map types

func (*BgpRouteMap) PostPath

func (*BgpRouteMap) PostPath() string

PostPath implements sophos.RestObject and returns the BgpRouteMap POST path Create a new bgp/route_map object

func (*BgpRouteMap) PutPath

func (*BgpRouteMap) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpRouteMap PUT path Creates or updates the complete object route_map

func (*BgpRouteMap) RefRequired

func (b *BgpRouteMap) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpRouteMap) UsedByPath

func (*BgpRouteMap) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpRouteMaps added in v0.1.1

type BgpRouteMaps []BgpRouteMap

BgpRouteMaps is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpRouteMaps) GetPath added in v0.1.1

func (*BgpRouteMaps) GetPath() string

GetPath implements sophos.RestObject and returns the BgpRouteMaps GET path Returns all available bgp/route_map objects

func (*BgpRouteMaps) RefRequired added in v0.1.1

func (*BgpRouteMaps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type BgpSystem

type BgpSystem struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Status default value is true
	Status bool `json:"status"`
	Asn    int  `json:"asn"`
	// Custom default value is ""
	Custom string `json:"custom"`
	// InstallRoutes default value is true
	InstallRoutes bool          `json:"install_routes"`
	Name          string        `json:"name"`
	Neighbor      []interface{} `json:"neighbor"`
	Network       []interface{} `json:"network"`
	Comment       string        `json:"comment"`
	// Id description: (IPADDR)
	Id           string `json:"id"`
	MaximumPaths int    `json:"maximum_paths"`
}

BgpSystem represents a UTM BGP system

func (*BgpSystem) DeletePath

func (*BgpSystem) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpSystem DELETE path Creates or updates the complete object system

func (*BgpSystem) GetPath

func (b *BgpSystem) GetPath() string

GetPath implements sophos.RestObject and returns the BgpSystems GET path Returns all available system types

func (*BgpSystem) PatchPath

func (*BgpSystem) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpSystem PATCH path Changes to parts of the object system types

func (*BgpSystem) PostPath

func (*BgpSystem) PostPath() string

PostPath implements sophos.RestObject and returns the BgpSystem POST path Create a new bgp/system object

func (*BgpSystem) PutPath

func (*BgpSystem) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpSystem PUT path Creates or updates the complete object system

func (*BgpSystem) RefRequired

func (b *BgpSystem) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpSystem) UsedByPath

func (*BgpSystem) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpSystems added in v0.1.1

type BgpSystems []BgpSystem

BgpSystems is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpSystems) GetPath added in v0.1.1

func (*BgpSystems) GetPath() string

GetPath implements sophos.RestObject and returns the BgpSystems GET path Returns all available bgp/system objects

func (*BgpSystems) RefRequired added in v0.1.1

func (*BgpSystems) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Ca

type Ca struct {
	CaGost     string `json:"ca_gost"`
	CaIpsec    string `json:"ca_ipsec"`
	CaProxies  string `json:"ca_proxies"`
	CaRed      string `json:"ca_red"`
	DefKeysize int64  `json:"def_keysize"`
	GlobalCas  struct {
		EmailEncryption struct {
			TrustNewCas int64         `json:"trust_new_cas"`
			Trusted     []interface{} `json:"trusted"`
			Untrusted   []interface{} `json:"untrusted"`
		} `json:"email_encryption"`
		HTTPProxy struct {
			TrustNewCas int64         `json:"trust_new_cas"`
			Trusted     []interface{} `json:"trusted"`
			Untrusted   []interface{} `json:"untrusted"`
		} `json:"http_proxy"`
	} `json:"global_cas"`
}

Ca is a generated struct representing the Sophos Ca Endpoint GET /api/nodes/ca

func (Ca) ApiRoutes

func (Ca) ApiRoutes() []string

ApiRoutes returns all known Ca Paths

func (Ca) Definition

func (Ca) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ca

func (*Ca) GetPath

func (*Ca) GetPath() string

GetPath implements sophos.RestGetter

func (*Ca) RefRequired

func (*Ca) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ca) References

func (Ca) References() []string

References returns the Ca's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ca) RestObjects

func (Ca) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ca's Objects

type CaCrl

type CaCrl struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
	Crl        string `json:"crl"`
	// Meta description: REF(ca/meta_crl)
	Meta string `json:"meta"`
}

CaCrl represents a UTM certificate revocation list

func (*CaCrl) DeletePath

func (*CaCrl) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaCrl DELETE path Creates or updates the complete object crl

func (*CaCrl) GetPath

func (c *CaCrl) GetPath() string

GetPath implements sophos.RestObject and returns the CaCrls GET path Returns all available crl types

func (*CaCrl) PatchPath

func (*CaCrl) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaCrl PATCH path Changes to parts of the object crl types

func (*CaCrl) PostPath

func (*CaCrl) PostPath() string

PostPath implements sophos.RestObject and returns the CaCrl POST path Create a new ca/crl object

func (*CaCrl) PutPath

func (*CaCrl) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaCrl PUT path Creates or updates the complete object crl

func (*CaCrl) RefRequired

func (c *CaCrl) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaCrl) UsedByPath

func (*CaCrl) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaCrls added in v0.1.1

type CaCrls []CaCrl

CaCrls is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaCrls) GetPath added in v0.1.1

func (*CaCrls) GetPath() string

GetPath implements sophos.RestObject and returns the CaCrls GET path Returns all available ca/crl objects

func (*CaCrls) RefRequired added in v0.1.1

func (*CaCrls) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaGroup

type CaGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

CaGroup represents a UTM group

func (*CaGroup) DeletePath

func (*CaGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaGroup DELETE path Creates or updates the complete object group

func (*CaGroup) GetPath

func (c *CaGroup) GetPath() string

GetPath implements sophos.RestObject and returns the CaGroups GET path Returns all available group types

func (*CaGroup) PatchPath

func (*CaGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaGroup PATCH path Changes to parts of the object group types

func (*CaGroup) PostPath

func (*CaGroup) PostPath() string

PostPath implements sophos.RestObject and returns the CaGroup POST path Create a new ca/group object

func (*CaGroup) PutPath

func (*CaGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaGroup PUT path Creates or updates the complete object group

func (*CaGroup) RefRequired

func (c *CaGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaGroup) UsedByPath

func (*CaGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaGroups added in v0.1.1

type CaGroups []CaGroup

CaGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaGroups) GetPath added in v0.1.1

func (*CaGroups) GetPath() string

GetPath implements sophos.RestObject and returns the CaGroups GET path Returns all available ca/group objects

func (*CaGroups) RefRequired added in v0.1.1

func (*CaGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaHostCert

type CaHostCert struct {
	Locked      string `json:"_locked"`
	Reference   string `json:"_ref"`
	ObjectType  string `json:"_type"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Meta        string `json:"meta"`
	Name        string `json:"name"`
}

CaHostCert is a generated Sophos object

func (*CaHostCert) DeletePath

func (*CaHostCert) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaHostCert DELETE path Creates or updates the complete object host_cert

func (*CaHostCert) GetPath

func (c *CaHostCert) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostCerts GET path Returns all available host_cert types

func (*CaHostCert) GetType

func (c *CaHostCert) GetType() string

GetType implements sophos.Object

func (*CaHostCert) PatchPath

func (*CaHostCert) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaHostCert PATCH path Changes to parts of the object host_cert types

func (*CaHostCert) PostPath

func (*CaHostCert) PostPath() string

PostPath implements sophos.RestObject and returns the CaHostCert POST path Create a new ca/host_cert object

func (*CaHostCert) PutPath

func (*CaHostCert) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaHostCert PUT path Creates or updates the complete object host_cert

func (*CaHostCert) RefRequired

func (c *CaHostCert) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaHostCert) UsedByPath

func (*CaHostCert) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaHostCerts

type CaHostCerts []CaHostCert

CaHostCerts is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaHostCerts) GetPath

func (*CaHostCerts) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostCerts GET path Returns all available ca/host_cert objects

func (*CaHostCerts) RefRequired

func (*CaHostCerts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaHostKeyCert

type CaHostKeyCert struct {
	Locked      string `json:"_locked"`
	Reference   string `json:"_ref"`
	ObjectType  string `json:"_type"`
	Ca          string `json:"ca"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Encrypted   bool   `json:"encrypted"`
	Key         string `json:"key"`
	Meta        string `json:"meta"`
	Name        string `json:"name"`
}

CaHostKeyCert is a generated Sophos object

func (*CaHostKeyCert) DeletePath

func (*CaHostKeyCert) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaHostKeyCert DELETE path Creates or updates the complete object host_key_cert

func (*CaHostKeyCert) GetPath

func (c *CaHostKeyCert) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostKeyCerts GET path Returns all available host_key_cert types

func (*CaHostKeyCert) GetType

func (c *CaHostKeyCert) GetType() string

GetType implements sophos.Object

func (*CaHostKeyCert) PatchPath

func (*CaHostKeyCert) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaHostKeyCert PATCH path Changes to parts of the object host_key_cert types

func (*CaHostKeyCert) PostPath

func (*CaHostKeyCert) PostPath() string

PostPath implements sophos.RestObject and returns the CaHostKeyCert POST path Create a new ca/host_key_cert object

func (*CaHostKeyCert) PutPath

func (*CaHostKeyCert) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaHostKeyCert PUT path Creates or updates the complete object host_key_cert

func (*CaHostKeyCert) RefRequired

func (c *CaHostKeyCert) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaHostKeyCert) UsedByPath

func (*CaHostKeyCert) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaHostKeyCerts

type CaHostKeyCerts []CaHostKeyCert

CaHostKeyCerts is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaHostKeyCerts) GetPath

func (*CaHostKeyCerts) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostKeyCerts GET path Returns all available ca/host_key_cert objects

func (*CaHostKeyCerts) RefRequired

func (*CaHostKeyCerts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaHttpVerificationCa

type CaHttpVerificationCa struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Trust default value is false
	Trust       bool   `json:"trust"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	// Meta description: REF(ca/meta_x509)
	Meta string `json:"meta"`
	Name string `json:"name"`
}

CaHttpVerificationCa represents a UTM HTTPS verification CA

func (*CaHttpVerificationCa) DeletePath

func (*CaHttpVerificationCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaHttpVerificationCa DELETE path Creates or updates the complete object http_verification_ca

func (*CaHttpVerificationCa) GetPath

func (c *CaHttpVerificationCa) GetPath() string

GetPath implements sophos.RestObject and returns the CaHttpVerificationCas GET path Returns all available http_verification_ca types

func (*CaHttpVerificationCa) PatchPath

func (*CaHttpVerificationCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaHttpVerificationCa PATCH path Changes to parts of the object http_verification_ca types

func (*CaHttpVerificationCa) PostPath

func (*CaHttpVerificationCa) PostPath() string

PostPath implements sophos.RestObject and returns the CaHttpVerificationCa POST path Create a new ca/http_verification_ca object

func (*CaHttpVerificationCa) PutPath

func (*CaHttpVerificationCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaHttpVerificationCa PUT path Creates or updates the complete object http_verification_ca

func (*CaHttpVerificationCa) RefRequired

func (c *CaHttpVerificationCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaHttpVerificationCa) UsedByPath

func (*CaHttpVerificationCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaHttpVerificationCas added in v0.1.1

type CaHttpVerificationCas []CaHttpVerificationCa

CaHttpVerificationCas is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaHttpVerificationCas) GetPath added in v0.1.1

func (*CaHttpVerificationCas) GetPath() string

GetPath implements sophos.RestObject and returns the CaHttpVerificationCas GET path Returns all available ca/http_verification_ca objects

func (*CaHttpVerificationCas) RefRequired added in v0.1.1

func (*CaHttpVerificationCas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaMetaCrl

type CaMetaCrl struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Issuer     string `json:"issuer"`
	Lastupdate string `json:"lastupdate"`
	Name       string `json:"name"`
	Nextupdate string `json:"nextupdate"`
	Comment    string `json:"comment"`
	Hash       string `json:"hash"`
}

CaMetaCrl represents a UTM CRL meta information

func (*CaMetaCrl) DeletePath

func (*CaMetaCrl) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaMetaCrl DELETE path Creates or updates the complete object meta_crl

func (*CaMetaCrl) GetPath

func (c *CaMetaCrl) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaCrls GET path Returns all available meta_crl types

func (*CaMetaCrl) PatchPath

func (*CaMetaCrl) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaMetaCrl PATCH path Changes to parts of the object meta_crl types

func (*CaMetaCrl) PostPath

func (*CaMetaCrl) PostPath() string

PostPath implements sophos.RestObject and returns the CaMetaCrl POST path Create a new ca/meta_crl object

func (*CaMetaCrl) PutPath

func (*CaMetaCrl) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaMetaCrl PUT path Creates or updates the complete object meta_crl

func (*CaMetaCrl) RefRequired

func (c *CaMetaCrl) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaMetaCrl) UsedByPath

func (*CaMetaCrl) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaMetaCrls added in v0.1.1

type CaMetaCrls []CaMetaCrl

CaMetaCrls is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaMetaCrls) GetPath added in v0.1.1

func (*CaMetaCrls) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaCrls GET path Returns all available ca/meta_crl objects

func (*CaMetaCrls) RefRequired added in v0.1.1

func (*CaMetaCrls) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaMetaX509

type CaMetaX509 struct {
	Locked             string   `json:"_locked"`
	Reference          string   `json:"_ref"`
	ObjectType         string   `json:"_type"`
	Comment            string   `json:"comment"`
	Enddate            string   `json:"enddate"`
	Fingerprint        string   `json:"fingerprint"`
	Issuer             string   `json:"issuer"`
	IssuerHash         string   `json:"issuer_hash"`
	Name               string   `json:"name"`
	PublicKeyAlgorithm string   `json:"public_key_algorithm"`
	Serial             string   `json:"serial"`
	Startdate          string   `json:"startdate"`
	Subject            string   `json:"subject"`
	SubjectAltNames    []string `json:"subject_alt_names"`
	SubjectHash        string   `json:"subject_hash"`
	VpnID              string   `json:"vpn_id"`
	VpnIDType          string   `json:"vpn_id_type"`
}

CaMetaX509 is a generated Sophos object

func (*CaMetaX509) DeletePath

func (*CaMetaX509) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaMetaX509 DELETE path Creates or updates the complete object meta_x509

func (*CaMetaX509) GetPath

func (c *CaMetaX509) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaX509s GET path Returns all available meta_x509 types

func (*CaMetaX509) GetType

func (c *CaMetaX509) GetType() string

GetType implements sophos.Object

func (*CaMetaX509) PatchPath

func (*CaMetaX509) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaMetaX509 PATCH path Changes to parts of the object meta_x509 types

func (*CaMetaX509) PostPath

func (*CaMetaX509) PostPath() string

PostPath implements sophos.RestObject and returns the CaMetaX509 POST path Create a new ca/meta_x509 object

func (*CaMetaX509) PutPath

func (*CaMetaX509) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaMetaX509 PUT path Creates or updates the complete object meta_x509

func (*CaMetaX509) RefRequired

func (c *CaMetaX509) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaMetaX509) UsedByPath

func (*CaMetaX509) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaMetaX509s

type CaMetaX509s []CaMetaX509

CaMetaX509s is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaMetaX509s) GetPath

func (*CaMetaX509s) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaX509s GET path Returns all available ca/meta_x509 objects

func (*CaMetaX509s) RefRequired

func (*CaMetaX509s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaRsa

type CaRsa struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Key        string `json:"key"`
	KeySize    int64  `json:"key_size"`
	Name       string `json:"name"`
	Pubkey     string `json:"pubkey"`
	VpnID      string `json:"vpn_id"`
	VpnIDType  string `json:"vpn_id_type"`
}

CaRsa is a generated Sophos object

func (*CaRsa) DeletePath

func (*CaRsa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaRsa DELETE path Creates or updates the complete object rsa

func (*CaRsa) GetPath

func (c *CaRsa) GetPath() string

GetPath implements sophos.RestObject and returns the CaRsas GET path Returns all available rsa types

func (*CaRsa) GetType

func (c *CaRsa) GetType() string

GetType implements sophos.Object

func (*CaRsa) PatchPath

func (*CaRsa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaRsa PATCH path Changes to parts of the object rsa types

func (*CaRsa) PostPath

func (*CaRsa) PostPath() string

PostPath implements sophos.RestObject and returns the CaRsa POST path Create a new ca/rsa object

func (*CaRsa) PutPath

func (*CaRsa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaRsa PUT path Creates or updates the complete object rsa

func (*CaRsa) RefRequired

func (c *CaRsa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaRsa) UsedByPath

func (*CaRsa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaRsas

type CaRsas []CaRsa

CaRsas is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaRsas) GetPath

func (*CaRsas) GetPath() string

GetPath implements sophos.RestObject and returns the CaRsas GET path Returns all available ca/rsa objects

func (*CaRsas) RefRequired

func (*CaRsas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaSigningCa

type CaSigningCa struct {
	Locked      string `json:"_locked"`
	Reference   string `json:"_ref"`
	ObjectType  string `json:"_type"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Config      string `json:"config"`
	Encrypted   bool   `json:"encrypted"`
	Index       string `json:"index"`
	Key         string `json:"key"`
	Meta        string `json:"meta"`
	Name        string `json:"name"`
	Serial      string `json:"serial"`
}

CaSigningCa is a generated Sophos object

func (*CaSigningCa) DeletePath

func (*CaSigningCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaSigningCa DELETE path Creates or updates the complete object signing_ca

func (*CaSigningCa) GetPath

func (c *CaSigningCa) GetPath() string

GetPath implements sophos.RestObject and returns the CaSigningCas GET path Returns all available signing_ca types

func (*CaSigningCa) GetType

func (c *CaSigningCa) GetType() string

GetType implements sophos.Object

func (*CaSigningCa) PatchPath

func (*CaSigningCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaSigningCa PATCH path Changes to parts of the object signing_ca types

func (*CaSigningCa) PostPath

func (*CaSigningCa) PostPath() string

PostPath implements sophos.RestObject and returns the CaSigningCa POST path Create a new ca/signing_ca object

func (*CaSigningCa) PutPath

func (*CaSigningCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaSigningCa PUT path Creates or updates the complete object signing_ca

func (*CaSigningCa) RefRequired

func (c *CaSigningCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaSigningCa) UsedByPath

func (*CaSigningCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaSigningCas

type CaSigningCas []CaSigningCa

CaSigningCas is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaSigningCas) GetPath

func (*CaSigningCas) GetPath() string

GetPath implements sophos.RestObject and returns the CaSigningCas GET path Returns all available ca/signing_ca objects

func (*CaSigningCas) RefRequired

func (*CaSigningCas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaVerificationCa

type CaVerificationCa struct {
	Locked      string `json:"_locked"`
	ObjectType  string `json:"_type"`
	Reference   string `json:"_ref"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	// Meta description: REF(ca/meta_x509)
	Meta string `json:"meta"`
	Name string `json:"name"`
}

CaVerificationCa represents a UTM X509 verification CA

func (*CaVerificationCa) DeletePath

func (*CaVerificationCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaVerificationCa DELETE path Creates or updates the complete object verification_ca

func (*CaVerificationCa) GetPath

func (c *CaVerificationCa) GetPath() string

GetPath implements sophos.RestObject and returns the CaVerificationCas GET path Returns all available verification_ca types

func (*CaVerificationCa) PatchPath

func (*CaVerificationCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaVerificationCa PATCH path Changes to parts of the object verification_ca types

func (*CaVerificationCa) PostPath

func (*CaVerificationCa) PostPath() string

PostPath implements sophos.RestObject and returns the CaVerificationCa POST path Create a new ca/verification_ca object

func (*CaVerificationCa) PutPath

func (*CaVerificationCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaVerificationCa PUT path Creates or updates the complete object verification_ca

func (*CaVerificationCa) RefRequired

func (c *CaVerificationCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaVerificationCa) UsedByPath

func (*CaVerificationCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaVerificationCas added in v0.1.1

type CaVerificationCas []CaVerificationCa

CaVerificationCas is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaVerificationCas) GetPath added in v0.1.1

func (*CaVerificationCas) GetPath() string

GetPath implements sophos.RestObject and returns the CaVerificationCas GET path Returns all available ca/verification_ca objects

func (*CaVerificationCas) RefRequired added in v0.1.1

func (*CaVerificationCas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ClientlessVpn

type ClientlessVpn struct {
	ClientlessVpnConnection ClientlessVpnConnection `json:"clientless_vpn_connection"`
	ClientlessVpnGroup      ClientlessVpnGroup      `json:"clientless_vpn_group"`
}

ClientlessVpn is a generated struct representing the Sophos ClientlessVpn Endpoint GET /api/nodes/clientless_vpn

func (ClientlessVpn) ApiRoutes

func (ClientlessVpn) ApiRoutes() []string

ApiRoutes returns all known ClientlessVpn Paths

func (ClientlessVpn) Definition

func (ClientlessVpn) Definition() sophos.Definition

Definition returns the /api/definitions struct of ClientlessVpn

func (*ClientlessVpn) GetPath

func (*ClientlessVpn) GetPath() string

GetPath implements sophos.RestGetter

func (*ClientlessVpn) RefRequired

func (*ClientlessVpn) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (ClientlessVpn) References

func (ClientlessVpn) References() []string

References returns the ClientlessVpn's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (ClientlessVpn) RestObjects

func (ClientlessVpn) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of ClientlessVpn's Objects

type ClientlessVpnConnection

type ClientlessVpnConnection struct {
	Locked        string        `json:"_locked"`
	Reference     string        `json:"_ref"`
	ObjectType    string        `json:"_type"`
	AllowedUsers  []string      `json:"allowed_users"`
	AutoLogin     bool          `json:"auto_login"`
	Comment       string        `json:"comment"`
	Destination   string        `json:"destination"`
	HostKeyCert   string        `json:"host_key_cert"`
	Login         string        `json:"login"`
	Name          string        `json:"name"`
	Password      string        `json:"password"`
	PfExceptions  []interface{} `json:"pf_exceptions"`
	Port          int64         `json:"port"`
	PrivateKey    string        `json:"private_key"`
	RdpSecurity   string        `json:"rdp_security"`
	RecordSession bool          `json:"record_session"`
	Service       string        `json:"service"`
	ShareSession  bool          `json:"share_session"`
	Status        bool          `json:"status"`
	UID           int64         `json:"uid"`
	WebPath       string        `json:"web_path"`
}

ClientlessVpnConnection is a generated Sophos object

func (*ClientlessVpnConnection) DeletePath

func (*ClientlessVpnConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ClientlessVpnConnection DELETE path Creates or updates the complete object connection

func (*ClientlessVpnConnection) GetPath

func (c *ClientlessVpnConnection) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnConnections GET path Returns all available connection types

func (*ClientlessVpnConnection) GetType

func (c *ClientlessVpnConnection) GetType() string

GetType implements sophos.Object

func (*ClientlessVpnConnection) PatchPath

func (*ClientlessVpnConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ClientlessVpnConnection PATCH path Changes to parts of the object connection types

func (*ClientlessVpnConnection) PostPath

func (*ClientlessVpnConnection) PostPath() string

PostPath implements sophos.RestObject and returns the ClientlessVpnConnection POST path Create a new clientless_vpn/connection object

func (*ClientlessVpnConnection) PutPath

func (*ClientlessVpnConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ClientlessVpnConnection PUT path Creates or updates the complete object connection

func (*ClientlessVpnConnection) RefRequired

func (c *ClientlessVpnConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ClientlessVpnConnection) UsedByPath

func (*ClientlessVpnConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ClientlessVpnConnections

type ClientlessVpnConnections []ClientlessVpnConnection

ClientlessVpnConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*ClientlessVpnConnections) GetPath

func (*ClientlessVpnConnections) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnConnections GET path Returns all available clientless_vpn/connection objects

func (*ClientlessVpnConnections) RefRequired

func (*ClientlessVpnConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ClientlessVpnGroup

type ClientlessVpnGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ClientlessVpnGroup represents a UTM group

func (*ClientlessVpnGroup) DeletePath

func (*ClientlessVpnGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ClientlessVpnGroup DELETE path Creates or updates the complete object group

func (*ClientlessVpnGroup) GetPath

func (c *ClientlessVpnGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnGroups GET path Returns all available group types

func (*ClientlessVpnGroup) PatchPath

func (*ClientlessVpnGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ClientlessVpnGroup PATCH path Changes to parts of the object group types

func (*ClientlessVpnGroup) PostPath

func (*ClientlessVpnGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ClientlessVpnGroup POST path Create a new clientless_vpn/group object

func (*ClientlessVpnGroup) PutPath

func (*ClientlessVpnGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ClientlessVpnGroup PUT path Creates or updates the complete object group

func (*ClientlessVpnGroup) RefRequired

func (c *ClientlessVpnGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ClientlessVpnGroup) UsedByPath

func (*ClientlessVpnGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ClientlessVpnGroups added in v0.1.1

type ClientlessVpnGroups []ClientlessVpnGroup

ClientlessVpnGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ClientlessVpnGroups) GetPath added in v0.1.1

func (*ClientlessVpnGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnGroups GET path Returns all available clientless_vpn/group objects

func (*ClientlessVpnGroups) RefRequired added in v0.1.1

func (*ClientlessVpnGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Condition

type Condition struct {
	ConditionGroup  ConditionGroup  `json:"condition_group"`
	ConditionObjref ConditionObjref `json:"condition_objref"`
}

Condition is a generated struct representing the Sophos Condition Endpoint GET /api/nodes/condition

func (Condition) ApiRoutes

func (Condition) ApiRoutes() []string

ApiRoutes returns all known Condition Paths

func (Condition) Definition

func (Condition) Definition() sophos.Definition

Definition returns the /api/definitions struct of Condition

func (*Condition) GetPath

func (*Condition) GetPath() string

GetPath implements sophos.RestGetter

func (*Condition) RefRequired

func (*Condition) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Condition) References

func (Condition) References() []string

References returns the Condition's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Condition) RestObjects

func (Condition) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Condition's Objects

type ConditionGroup

type ConditionGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ConditionGroup represents a UTM group

func (*ConditionGroup) DeletePath

func (*ConditionGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ConditionGroup DELETE path Creates or updates the complete object group

func (*ConditionGroup) GetPath

func (c *ConditionGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionGroups GET path Returns all available group types

func (*ConditionGroup) PatchPath

func (*ConditionGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ConditionGroup PATCH path Changes to parts of the object group types

func (*ConditionGroup) PostPath

func (*ConditionGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ConditionGroup POST path Create a new condition/group object

func (*ConditionGroup) PutPath

func (*ConditionGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ConditionGroup PUT path Creates or updates the complete object group

func (*ConditionGroup) RefRequired

func (c *ConditionGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ConditionGroup) UsedByPath

func (*ConditionGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ConditionGroups added in v0.1.1

type ConditionGroups []ConditionGroup

ConditionGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ConditionGroups) GetPath added in v0.1.1

func (*ConditionGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionGroups GET path Returns all available condition/group objects

func (*ConditionGroups) RefRequired added in v0.1.1

func (*ConditionGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ConditionObjref

type ConditionObjref struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Attr       string `json:"attr"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Operator   string `json:"operator"`
	Ref        string `json:"ref"`
	Value      string `json:"value"`
}

ConditionObjref is a generated Sophos object

func (*ConditionObjref) DeletePath

func (*ConditionObjref) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ConditionObjref DELETE path Creates or updates the complete object objref

func (*ConditionObjref) GetPath

func (c *ConditionObjref) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionObjrefs GET path Returns all available objref types

func (*ConditionObjref) GetType

func (c *ConditionObjref) GetType() string

GetType implements sophos.Object

func (*ConditionObjref) PatchPath

func (*ConditionObjref) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ConditionObjref PATCH path Changes to parts of the object objref types

func (*ConditionObjref) PostPath

func (*ConditionObjref) PostPath() string

PostPath implements sophos.RestObject and returns the ConditionObjref POST path Create a new condition/objref object

func (*ConditionObjref) PutPath

func (*ConditionObjref) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ConditionObjref PUT path Creates or updates the complete object objref

func (*ConditionObjref) RefRequired

func (c *ConditionObjref) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ConditionObjref) UsedByPath

func (*ConditionObjref) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ConditionObjrefs

type ConditionObjrefs []ConditionObjref

ConditionObjrefs is an Sophos Endpoint subType and implements sophos.RestObject

func (*ConditionObjrefs) GetPath

func (*ConditionObjrefs) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionObjrefs GET path Returns all available condition/objref objects

func (*ConditionObjrefs) RefRequired

func (*ConditionObjrefs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Cron

type Cron struct {
	CronAt    CronAt    `json:"cron_at"`
	CronGroup CronGroup `json:"cron_group"`
}

Cron is a generated struct representing the Sophos Cron Endpoint GET /api/nodes/cron

func (Cron) ApiRoutes

func (Cron) ApiRoutes() []string

ApiRoutes returns all known Cron Paths

func (Cron) Definition

func (Cron) Definition() sophos.Definition

Definition returns the /api/definitions struct of Cron

func (*Cron) GetPath

func (*Cron) GetPath() string

GetPath implements sophos.RestGetter

func (*Cron) RefRequired

func (*Cron) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Cron) References

func (Cron) References() []string

References returns the Cron's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Cron) RestObjects

func (Cron) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Cron's Objects

type CronAt

type CronAt struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Command    string `json:"command"`
	Comment    string `json:"comment"`
	// Date description: (DATE)
	Date string `json:"date"`
	Name string `json:"name"`
	// Time description: (TIME)
	Time string `json:"time"`
}

CronAt represents a UTM scheduled job

func (*CronAt) DeletePath

func (*CronAt) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CronAt DELETE path Creates or updates the complete object at

func (*CronAt) GetPath

func (c *CronAt) GetPath() string

GetPath implements sophos.RestObject and returns the CronAts GET path Returns all available at types

func (*CronAt) PatchPath

func (*CronAt) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CronAt PATCH path Changes to parts of the object at types

func (*CronAt) PostPath

func (*CronAt) PostPath() string

PostPath implements sophos.RestObject and returns the CronAt POST path Create a new cron/at object

func (*CronAt) PutPath

func (*CronAt) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CronAt PUT path Creates or updates the complete object at

func (*CronAt) RefRequired

func (c *CronAt) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CronAt) UsedByPath

func (*CronAt) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CronAts added in v0.1.1

type CronAts []CronAt

CronAts is an Sophos Endpoint subType and implements sophos.RestObject

func (*CronAts) GetPath added in v0.1.1

func (*CronAts) GetPath() string

GetPath implements sophos.RestObject and returns the CronAts GET path Returns all available cron/at objects

func (*CronAts) RefRequired added in v0.1.1

func (*CronAts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CronGroup

type CronGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

CronGroup represents a UTM group

func (*CronGroup) DeletePath

func (*CronGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CronGroup DELETE path Creates or updates the complete object group

func (*CronGroup) GetPath

func (c *CronGroup) GetPath() string

GetPath implements sophos.RestObject and returns the CronGroups GET path Returns all available group types

func (*CronGroup) PatchPath

func (*CronGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CronGroup PATCH path Changes to parts of the object group types

func (*CronGroup) PostPath

func (*CronGroup) PostPath() string

PostPath implements sophos.RestObject and returns the CronGroup POST path Create a new cron/group object

func (*CronGroup) PutPath

func (*CronGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CronGroup PUT path Creates or updates the complete object group

func (*CronGroup) RefRequired

func (c *CronGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CronGroup) UsedByPath

func (*CronGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CronGroups added in v0.1.1

type CronGroups []CronGroup

CronGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*CronGroups) GetPath added in v0.1.1

func (*CronGroups) GetPath() string

GetPath implements sophos.RestObject and returns the CronGroups GET path Returns all available cron/group objects

func (*CronGroups) RefRequired added in v0.1.1

func (*CronGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Dhcp

type Dhcp struct {
	Relay struct {
		DhcpServer string        `json:"dhcp_server"`
		Interfaces []interface{} `json:"interfaces"`
		Status     int64         `json:"status"`
	} `json:"relay"`
	Relay6 struct {
		ItfsFacingClients []interface{} `json:"itfs_facing_clients"`
		ItfsFacingServer6 []interface{} `json:"itfs_facing_server6"`
		Status            int64         `json:"status"`
	} `json:"relay6"`
	Server struct {
		Custom4 string   `json:"custom4"`
		Custom6 string   `json:"custom6"`
		Servers []string `json:"servers"`
	} `json:"server"`
}

Dhcp is a generated struct representing the Sophos Dhcp Endpoint GET /api/nodes/dhcp

func (Dhcp) ApiRoutes

func (Dhcp) ApiRoutes() []string

ApiRoutes returns all known Dhcp Paths

func (Dhcp) Definition

func (Dhcp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Dhcp

func (*Dhcp) GetPath

func (*Dhcp) GetPath() string

GetPath implements sophos.RestGetter

func (*Dhcp) RefRequired

func (*Dhcp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Dhcp) References

func (Dhcp) References() []string

References returns the Dhcp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Dhcp) RestObjects

func (Dhcp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Dhcp's Objects

type DhcpGroup

type DhcpGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

DhcpGroup represents a UTM group

func (*DhcpGroup) DeletePath

func (*DhcpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpGroup DELETE path Creates or updates the complete object group

func (*DhcpGroup) GetPath

func (d *DhcpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpGroups GET path Returns all available group types

func (*DhcpGroup) PatchPath

func (*DhcpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpGroup PATCH path Changes to parts of the object group types

func (*DhcpGroup) PostPath

func (*DhcpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpGroup POST path Create a new dhcp/group object

func (*DhcpGroup) PutPath

func (*DhcpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpGroup PUT path Creates or updates the complete object group

func (*DhcpGroup) RefRequired

func (d *DhcpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpGroup) UsedByPath

func (*DhcpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpGroups added in v0.1.1

type DhcpGroups []DhcpGroup

DhcpGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpGroups) GetPath added in v0.1.1

func (*DhcpGroups) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpGroups GET path Returns all available dhcp/group objects

func (*DhcpGroups) RefRequired added in v0.1.1

func (*DhcpGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpOption

type DhcpOption struct {
	Locked     string        `json:"_locked"`
	Reference  string        `json:"_ref"`
	ObjectType string        `json:"_type"`
	Address    string        `json:"address"`
	Code       int64         `json:"code"`
	Comment    string        `json:"comment"`
	DhcpName   string        `json:"dhcp_name"`
	Host       []interface{} `json:"host"`
	Integer    int64         `json:"integer"`
	Mac        string        `json:"mac"`
	Name       string        `json:"name"`
	Scope      string        `json:"scope"`
	Server     []interface{} `json:"server"`
	Status     bool          `json:"status"`
	String     string        `json:"string"`
	Text       string        `json:"text"`
	Type       string        `json:"type"`
	Vendor     string        `json:"vendor"`
}

DhcpOption is a generated Sophos object

func (*DhcpOption) DeletePath

func (*DhcpOption) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpOption DELETE path Creates or updates the complete object option

func (*DhcpOption) GetPath

func (d *DhcpOption) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOptions GET path Returns all available option types

func (*DhcpOption) GetType

func (d *DhcpOption) GetType() string

GetType implements sophos.Object

func (*DhcpOption) PatchPath

func (*DhcpOption) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpOption PATCH path Changes to parts of the object option types

func (*DhcpOption) PostPath

func (*DhcpOption) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpOption POST path Create a new dhcp/option object

func (*DhcpOption) PutPath

func (*DhcpOption) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpOption PUT path Creates or updates the complete object option

func (*DhcpOption) RefRequired

func (d *DhcpOption) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpOption) UsedByPath

func (*DhcpOption) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpOption6

type DhcpOption6 struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Host       []interface{} `json:"host"`
	Server     []interface{} `json:"server"`
	// String description: (HEXSTRING)
	String string `json:"string"`
	// Code description: Constraints: 7, 10-12, 15-18, 21-255
	Code     int    `json:"code"`
	DhcpName string `json:"dhcp_name"`
	// Scope can be one of: []string{"global", "server", "host", "mac", "vendor"}
	Scope string `json:"scope"`
	Text  string `json:"text"`
	// Mac description: (HEXSTRING)
	Mac  string `json:"mac"`
	Name string `json:"name"`
	// Type can be one of: []string{"ip-address", "text", "string", "integer"}
	Type    string `json:"type"`
	Integer int    `json:"integer"`
	// Status default value is false
	Status bool   `json:"status"`
	Vendor string `json:"vendor"`
	// Address description: REF(network/interface_address), REF(network/host), REF(network/dns_host), REF(network/dns_group), REF(network/availability_group), REF(network/group)
	Address string `json:"address"`
	Comment string `json:"comment"`
}

DhcpOption6 represents a UTM DHCPv6 option

func (*DhcpOption6) DeletePath

func (*DhcpOption6) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpOption6 DELETE path Creates or updates the complete object option6

func (*DhcpOption6) GetPath

func (d *DhcpOption6) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOption6s GET path Returns all available option6 types

func (*DhcpOption6) PatchPath

func (*DhcpOption6) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpOption6 PATCH path Changes to parts of the object option6 types

func (*DhcpOption6) PostPath

func (*DhcpOption6) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpOption6 POST path Create a new dhcp/option6 object

func (*DhcpOption6) PutPath

func (*DhcpOption6) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpOption6 PUT path Creates or updates the complete object option6

func (*DhcpOption6) RefRequired

func (d *DhcpOption6) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpOption6) UsedByPath

func (*DhcpOption6) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpOption6s added in v0.1.1

type DhcpOption6s []DhcpOption6

DhcpOption6s is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpOption6s) GetPath added in v0.1.1

func (*DhcpOption6s) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOption6s GET path Returns all available dhcp/option6 objects

func (*DhcpOption6s) RefRequired added in v0.1.1

func (*DhcpOption6s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpOptions

type DhcpOptions []DhcpOption

DhcpOptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpOptions) GetPath

func (*DhcpOptions) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOptions GET path Returns all available dhcp/option objects

func (*DhcpOptions) RefRequired

func (*DhcpOptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpServer

type DhcpServer struct {
	Locked          string   `json:"_locked"`
	Reference       string   `json:"_ref"`
	ObjectType      string   `json:"_type"`
	Address         string   `json:"address"`
	Comment         string   `json:"comment"`
	Custom          string   `json:"custom"`
	DefaultGateway  string   `json:"default_gateway"`
	DenyUnknown     bool     `json:"deny_unknown"`
	DNS1            string   `json:"dns1"`
	DNS2            string   `json:"dns2"`
	Domain          string   `json:"domain"`
	Interface       string   `json:"interface"`
	LeaseTime       int64    `json:"lease_time"`
	Mappings        []string `json:"mappings"`
	Name            string   `json:"name"`
	Netmask         int64    `json:"netmask"`
	ProxyAutoconfig bool     `json:"proxy_autoconfig"`
	RangeEnd        string   `json:"range_end"`
	RangeStart      string   `json:"range_start"`
	RelayMode       bool     `json:"relay_mode"`
	Status          bool     `json:"status"`
	Wins            string   `json:"wins"`
	WinsNodeType    string   `json:"wins_node_type"`
}

DhcpServer is a generated Sophos object

func (*DhcpServer) DeletePath

func (*DhcpServer) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpServer DELETE path Creates or updates the complete object server

func (*DhcpServer) GetPath

func (d *DhcpServer) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServers GET path Returns all available server types

func (*DhcpServer) GetType

func (d *DhcpServer) GetType() string

GetType implements sophos.Object

func (*DhcpServer) PatchPath

func (*DhcpServer) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpServer PATCH path Changes to parts of the object server types

func (*DhcpServer) PostPath

func (*DhcpServer) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpServer POST path Create a new dhcp/server object

func (*DhcpServer) PutPath

func (*DhcpServer) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpServer PUT path Creates or updates the complete object server

func (*DhcpServer) RefRequired

func (d *DhcpServer) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpServer) UsedByPath

func (*DhcpServer) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpServer6

type DhcpServer6 struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Address description: REF(itfparams/*)
	Address  string `json:"address"`
	Name     string `json:"name"`
	Netmask6 int    `json:"netmask6"`
	// ProxyAutoconfig default value is false
	ProxyAutoconfig bool `json:"proxy_autoconfig"`
	// Status default value is false
	Status bool `json:"status"`
	// RelayMode default value is false
	RelayMode bool   `json:"relay_mode"`
	Comment   string `json:"comment"`
	// Custom default value is ""
	Custom     string `json:"custom"`
	DefaultLft int    `json:"default_lft"`
	// DenyUnknown default value is false
	DenyUnknown bool `json:"deny_unknown"`
	// Domain default value is ""
	Domain string `json:"domain"`
	// Mtu description: Constraints: 0, 1280-9000
	Mtu      int `json:"mtu"`
	PrefdLft int `json:"prefd_lft"`
	ValidLft int `json:"valid_lft"`
	// Dns1 description: (IP6ADDR)
	// Dns1 default value is "::"
	Dns1 string `json:"dns1"`
	// Dns2 description: (IP6ADDR)
	// Dns2 default value is "::"
	Dns2     string        `json:"dns2"`
	Mappings []interface{} `json:"mappings"`
	// OnLink default value is false
	OnLink bool `json:"on_link"`
	// RangeStart description: (IP6ADDR)
	RangeStart string `json:"range_start"`
	// Interface description: REF(interface/ethernet), REF(interface/vlan), REF(interface/bridge)
	Interface string `json:"interface"`
	// RangeEnd description: (IP6ADDR)
	RangeEnd string `json:"range_end"`
}

DhcpServer6 represents a UTM DHCPv6 server

func (*DhcpServer6) DeletePath

func (*DhcpServer6) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpServer6 DELETE path Creates or updates the complete object server6

func (*DhcpServer6) GetPath

func (d *DhcpServer6) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServer6s GET path Returns all available server6 types

func (*DhcpServer6) PatchPath

func (*DhcpServer6) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpServer6 PATCH path Changes to parts of the object server6 types

func (*DhcpServer6) PostPath

func (*DhcpServer6) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpServer6 POST path Create a new dhcp/server6 object

func (*DhcpServer6) PutPath

func (*DhcpServer6) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpServer6 PUT path Creates or updates the complete object server6

func (*DhcpServer6) RefRequired

func (d *DhcpServer6) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpServer6) UsedByPath

func (*DhcpServer6) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpServer6s added in v0.1.1

type DhcpServer6s []DhcpServer6

DhcpServer6s is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpServer6s) GetPath added in v0.1.1

func (*DhcpServer6s) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServer6s GET path Returns all available dhcp/server6 objects

func (*DhcpServer6s) RefRequired added in v0.1.1

func (*DhcpServer6s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpServers

type DhcpServers []DhcpServer

DhcpServers is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpServers) GetPath

func (*DhcpServers) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServers GET path Returns all available dhcp/server objects

func (*DhcpServers) RefRequired

func (*DhcpServers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpStateless

type DhcpStateless struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	ValidLft   int    `json:"valid_lft"`
	// Custom default value is ""
	Custom     string `json:"custom"`
	DefaultLft int    `json:"default_lft"`
	// Dns1 description: (IP6ADDR)
	// Dns1 default value is "::"
	Dns1 string `json:"dns1"`
	// Interface description: REF(interface/ethernet), REF(interface/vlan), REF(interface/bridge)
	Interface string `json:"interface"`
	// Mtu description: Constraints: 0, 1280-9000
	Mtu int `json:"mtu"`
	// OnLink default value is false
	OnLink bool `json:"on_link"`
	// StatelessServerStatus default value is true
	StatelessServerStatus bool   `json:"stateless_server_status"`
	Comment               string `json:"comment"`
	Name                  string `json:"name"`
	// Dns2 description: (IP6ADDR)
	// Dns2 default value is "::"
	Dns2 string `json:"dns2"`
	// Domain default value is ""
	Domain string `json:"domain"`
	// ManagedFlag default value is false
	ManagedFlag bool `json:"managed_flag"`
	// Address description: REF(itfparams/*)
	Address string `json:"address"`
	// OtherConfig default value is false
	OtherConfig bool `json:"other_config"`
	PrefdLft    int  `json:"prefd_lft"`
	// ProxyAutoconfig default value is false
	ProxyAutoconfig bool `json:"proxy_autoconfig"`
	// Status default value is false
	Status bool `json:"status"`
}

DhcpStateless represents a UTM IPv6 prefix advertisement

func (*DhcpStateless) DeletePath

func (*DhcpStateless) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpStateless DELETE path Creates or updates the complete object stateless

func (*DhcpStateless) GetPath

func (d *DhcpStateless) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpStatelesss GET path Returns all available stateless types

func (*DhcpStateless) PatchPath

func (*DhcpStateless) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpStateless PATCH path Changes to parts of the object stateless types

func (*DhcpStateless) PostPath

func (*DhcpStateless) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpStateless POST path Create a new dhcp/stateless object

func (*DhcpStateless) PutPath

func (*DhcpStateless) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpStateless PUT path Creates or updates the complete object stateless

func (*DhcpStateless) RefRequired

func (d *DhcpStateless) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpStateless) UsedByPath

func (*DhcpStateless) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpStatelesss added in v0.1.1

type DhcpStatelesss []DhcpStateless

DhcpStatelesss is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpStatelesss) GetPath added in v0.1.1

func (*DhcpStatelesss) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpStatelesss GET path Returns all available dhcp/stateless objects

func (*DhcpStatelesss) RefRequired added in v0.1.1

func (*DhcpStatelesss) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Dns

type Dns struct {
	AllowedNetworks []string      `json:"allowed_networks"`
	Axfr            []interface{} `json:"axfr"`
	Dnssec          int64         `json:"dnssec"`
	Email           string        `json:"email"`
	EmptyZones      string        `json:"empty_zones"`
	FwdDynamic      int64         `json:"fwd_dynamic"`
	FwdStatic       []string      `json:"fwd_static"`
	RecheckInterval int64         `json:"recheck_interval"`
	Routes          []string      `json:"routes"`
}

Dns is a generated struct representing the Sophos Dns Endpoint GET /api/nodes/dns

func (Dns) ApiRoutes

func (Dns) ApiRoutes() []string

ApiRoutes returns all known Dns Paths

func (Dns) Definition

func (Dns) Definition() sophos.Definition

Definition returns the /api/definitions struct of Dns

func (*Dns) GetPath

func (*Dns) GetPath() string

GetPath implements sophos.RestGetter

func (*Dns) RefRequired

func (*Dns) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Dns) References

func (Dns) References() []string

References returns the Dns's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Dns) RestObjects

func (Dns) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Dns's Objects

type DnsAxfr

type DnsAxfr struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Comment    string        `json:"comment"`
	Master     []interface{} `json:"master"`
	Name       string        `json:"name"`
	// Status default value is false
	Status bool `json:"status"`
	// Zone description: (HOSTNAME)
	Zone string `json:"zone"`
}

DnsAxfr represents a UTM DNS slave zone

func (*DnsAxfr) DeletePath

func (*DnsAxfr) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DnsAxfr DELETE path Creates or updates the complete object axfr

func (*DnsAxfr) GetPath

func (d *DnsAxfr) GetPath() string

GetPath implements sophos.RestObject and returns the DnsAxfrs GET path Returns all available axfr types

func (*DnsAxfr) PatchPath

func (*DnsAxfr) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DnsAxfr PATCH path Changes to parts of the object axfr types

func (*DnsAxfr) PostPath

func (*DnsAxfr) PostPath() string

PostPath implements sophos.RestObject and returns the DnsAxfr POST path Create a new dns/axfr object

func (*DnsAxfr) PutPath

func (*DnsAxfr) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DnsAxfr PUT path Creates or updates the complete object axfr

func (*DnsAxfr) RefRequired

func (d *DnsAxfr) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DnsAxfr) UsedByPath

func (*DnsAxfr) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DnsAxfrs added in v0.1.1

type DnsAxfrs []DnsAxfr

DnsAxfrs is an Sophos Endpoint subType and implements sophos.RestObject

func (*DnsAxfrs) GetPath added in v0.1.1

func (*DnsAxfrs) GetPath() string

GetPath implements sophos.RestObject and returns the DnsAxfrs GET path Returns all available dns/axfr objects

func (*DnsAxfrs) RefRequired added in v0.1.1

func (*DnsAxfrs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DnsGroup

type DnsGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

DnsGroup represents a UTM group

func (*DnsGroup) DeletePath

func (*DnsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DnsGroup DELETE path Creates or updates the complete object group

func (*DnsGroup) GetPath

func (d *DnsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the DnsGroups GET path Returns all available group types

func (*DnsGroup) PatchPath

func (*DnsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DnsGroup PATCH path Changes to parts of the object group types

func (*DnsGroup) PostPath

func (*DnsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the DnsGroup POST path Create a new dns/group object

func (*DnsGroup) PutPath

func (*DnsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DnsGroup PUT path Creates or updates the complete object group

func (*DnsGroup) RefRequired

func (d *DnsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DnsGroup) UsedByPath

func (*DnsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DnsGroups added in v0.1.1

type DnsGroups []DnsGroup

DnsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*DnsGroups) GetPath added in v0.1.1

func (*DnsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the DnsGroups GET path Returns all available dns/group objects

func (*DnsGroups) RefRequired added in v0.1.1

func (*DnsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DnsRoute

type DnsRoute struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	Name       string   `json:"name"`
	Prefix     string   `json:"prefix"`
	Status     bool     `json:"status"`
	Targets    []string `json:"targets"`
}

DnsRoute is a generated Sophos object

func (*DnsRoute) DeletePath

func (*DnsRoute) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DnsRoute DELETE path Creates or updates the complete object route

func (*DnsRoute) GetPath

func (d *DnsRoute) GetPath() string

GetPath implements sophos.RestObject and returns the DnsRoutes GET path Returns all available route types

func (*DnsRoute) GetType

func (d *DnsRoute) GetType() string

GetType implements sophos.Object

func (*DnsRoute) PatchPath

func (*DnsRoute) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DnsRoute PATCH path Changes to parts of the object route types

func (*DnsRoute) PostPath

func (*DnsRoute) PostPath() string

PostPath implements sophos.RestObject and returns the DnsRoute POST path Create a new dns/route object

func (*DnsRoute) PutPath

func (*DnsRoute) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DnsRoute PUT path Creates or updates the complete object route

func (*DnsRoute) RefRequired

func (d *DnsRoute) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DnsRoute) UsedByPath

func (*DnsRoute) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DnsRoutes

type DnsRoutes []DnsRoute

DnsRoutes is an Sophos Endpoint subType and implements sophos.RestObject

func (*DnsRoutes) GetPath

func (*DnsRoutes) GetPath() string

GetPath implements sophos.RestObject and returns the DnsRoutes GET path Returns all available dns/route objects

func (*DnsRoutes) RefRequired

func (*DnsRoutes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Dyndns

type Dyndns struct {
	Rules []interface{} `json:"rules"`
}

Dyndns is a generated struct representing the Sophos Dyndns Endpoint GET /api/nodes/dyndns

func (Dyndns) ApiRoutes

func (Dyndns) ApiRoutes() []string

ApiRoutes returns all known Dyndns Paths

func (Dyndns) Definition

func (Dyndns) Definition() sophos.Definition

Definition returns the /api/definitions struct of Dyndns

func (*Dyndns) GetPath

func (*Dyndns) GetPath() string

GetPath implements sophos.RestGetter

func (*Dyndns) RefRequired

func (*Dyndns) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Dyndns) References

func (Dyndns) References() []string

References returns the Dyndns's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Dyndns) RestObjects

func (Dyndns) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Dyndns's Objects

type DyndnsDyndns

type DyndnsDyndns struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Type can be one of: []string{"dns-o-matic", "dnsdynamic", "dnspark", "dtdns", "dyndns", "dyndns-custom", "easydns", "freedns", "namecheap", "no-ip", "opendns", "selfhost", "strato", "zoneedit"}
	// Type default value is "dyndns"
	Type    string        `json:"type"`
	Aliases []interface{} `json:"aliases"`
	// Hostname default value is ""
	Hostname string `json:"hostname"`
	// Label default value is ""
	Label string `json:"label"`
	// Mx description: (HOSTNAME)
	// Mx default value is ""
	Mx string `json:"mx"`
	// Password default value is ""
	Password string `json:"password"`
	// Interface description: REF(interface/*)
	Interface string `json:"interface"`
	// Record can be one of: []string{"a", "aaaa", "both"}
	// Record default value is "a"
	Record  string `json:"record"`
	User    string `json:"user"`
	Comment string `json:"comment"`
	// Status default value is false
	Status bool `json:"status"`
	// Strategy can be one of: []string{"if", "web"}
	// Strategy default value is "if"
	Strategy string `json:"strategy"`
	// Wildcard default value is false
	Wildcard bool `json:"wildcard"`
	// Backupmx default value is false
	Backupmx bool   `json:"backupmx"`
	Mxpri    int    `json:"mxpri"`
	Name     string `json:"name"`
}

DyndnsDyndns represents a UTM DynDNS mapping

func (*DyndnsDyndns) DeletePath

func (*DyndnsDyndns) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DyndnsDyndns DELETE path Creates or updates the complete object dyndns

func (*DyndnsDyndns) GetPath

func (d *DyndnsDyndns) GetPath() string

GetPath implements sophos.RestObject and returns the DyndnsDyndnss GET path Returns all available dyndns types

func (*DyndnsDyndns) PatchPath

func (*DyndnsDyndns) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DyndnsDyndns PATCH path Changes to parts of the object dyndns types

func (*DyndnsDyndns) PostPath

func (*DyndnsDyndns) PostPath() string

PostPath implements sophos.RestObject and returns the DyndnsDyndns POST path Create a new dyndns/dyndns object

func (*DyndnsDyndns) PutPath

func (*DyndnsDyndns) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DyndnsDyndns PUT path Creates or updates the complete object dyndns

func (*DyndnsDyndns) RefRequired

func (d *DyndnsDyndns) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DyndnsDyndns) UsedByPath

func (*DyndnsDyndns) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DyndnsDyndnss added in v0.1.1

type DyndnsDyndnss []DyndnsDyndns

DyndnsDyndnss is an Sophos Endpoint subType and implements sophos.RestObject

func (*DyndnsDyndnss) GetPath added in v0.1.1

func (*DyndnsDyndnss) GetPath() string

GetPath implements sophos.RestObject and returns the DyndnsDyndnss GET path Returns all available dyndns/dyndns objects

func (*DyndnsDyndnss) RefRequired added in v0.1.1

func (*DyndnsDyndnss) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DyndnsGroup

type DyndnsGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

DyndnsGroup represents a UTM group

func (*DyndnsGroup) DeletePath

func (*DyndnsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DyndnsGroup DELETE path Creates or updates the complete object group

func (*DyndnsGroup) GetPath

func (d *DyndnsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the DyndnsGroups GET path Returns all available group types

func (*DyndnsGroup) PatchPath

func (*DyndnsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DyndnsGroup PATCH path Changes to parts of the object group types

func (*DyndnsGroup) PostPath

func (*DyndnsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the DyndnsGroup POST path Create a new dyndns/group object

func (*DyndnsGroup) PutPath

func (*DyndnsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DyndnsGroup PUT path Creates or updates the complete object group

func (*DyndnsGroup) RefRequired

func (d *DyndnsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DyndnsGroup) UsedByPath

func (*DyndnsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DyndnsGroups added in v0.1.1

type DyndnsGroups []DyndnsGroup

DyndnsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*DyndnsGroups) GetPath added in v0.1.1

func (*DyndnsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the DyndnsGroups GET path Returns all available dyndns/group objects

func (*DyndnsGroups) RefRequired added in v0.1.1

func (*DyndnsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Emailpki

type Emailpki struct {
	Authority struct {
		Cert                  string `json:"cert"`
		Fingerprint           string `json:"fingerprint"`
		Key                   string `json:"key"`
		PostmasterFingerprint string `json:"postmaster_fingerprint"`
		PostmasterPrivkey     string `json:"postmaster_privkey"`
		PostmasterPubkey      string `json:"postmaster_pubkey"`
	} `json:"authority"`
	Global struct {
		City         string `json:"city"`
		Country      string `json:"country"`
		Organization string `json:"organization"`
		Postmaster   string `json:"postmaster"`
		Status       int64  `json:"status"`
	} `json:"global"`
	Objects struct {
		Cas     []string      `json:"cas"`
		Openpgp []interface{} `json:"openpgp"`
		Smime   []interface{} `json:"smime"`
		Users   []interface{} `json:"users"`
	} `json:"objects"`
	Openpgp struct {
		MainKeysize int64 `json:"main_keysize"`
		SubKeysize  int64 `json:"sub_keysize"`
	} `json:"openpgp"`
	Options struct {
		ExternalAuto     int64  `json:"external_auto"`
		Keyserver        string `json:"keyserver"`
		PolicyDecryption int64  `json:"policy_decryption"`
		PolicyEncryption int64  `json:"policy_encryption"`
		PolicySign       int64  `json:"policy_sign"`
		PolicyVerify     int64  `json:"policy_verify"`
	} `json:"options"`
}

Emailpki is a generated struct representing the Sophos Emailpki Endpoint GET /api/nodes/emailpki

func (Emailpki) ApiRoutes

func (Emailpki) ApiRoutes() []string

ApiRoutes returns all known Emailpki Paths

func (Emailpki) Definition

func (Emailpki) Definition() sophos.Definition

Definition returns the /api/definitions struct of Emailpki

func (*Emailpki) GetPath

func (*Emailpki) GetPath() string

GetPath implements sophos.RestGetter

func (*Emailpki) RefRequired

func (*Emailpki) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Emailpki) References

func (Emailpki) References() []string

References returns the Emailpki's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Emailpki) RestObjects

func (Emailpki) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Emailpki's Objects

type EmailpkiGroup

type EmailpkiGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

EmailpkiGroup represents a UTM group

func (*EmailpkiGroup) DeletePath

func (*EmailpkiGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiGroup DELETE path Creates or updates the complete object group

func (*EmailpkiGroup) GetPath

func (e *EmailpkiGroup) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiGroups GET path Returns all available group types

func (*EmailpkiGroup) PatchPath

func (*EmailpkiGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiGroup PATCH path Changes to parts of the object group types

func (*EmailpkiGroup) PostPath

func (*EmailpkiGroup) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiGroup POST path Create a new emailpki/group object

func (*EmailpkiGroup) PutPath

func (*EmailpkiGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiGroup PUT path Creates or updates the complete object group

func (*EmailpkiGroup) RefRequired

func (e *EmailpkiGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiGroup) UsedByPath

func (*EmailpkiGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiGroups added in v0.1.1

type EmailpkiGroups []EmailpkiGroup

EmailpkiGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiGroups) GetPath added in v0.1.1

func (*EmailpkiGroups) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiGroups GET path Returns all available emailpki/group objects

func (*EmailpkiGroups) RefRequired added in v0.1.1

func (*EmailpkiGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EmailpkiOpenpgp

type EmailpkiOpenpgp struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Privkey default value is ""
	Privkey string `json:"privkey"`
	Pubkey  string `json:"pubkey"`
	// Realname default value is ""
	Realname string        `json:"realname"`
	Comment  string        `json:"comment"`
	Emails   []interface{} `json:"emails"`
	// Expires default value is ""
	Expires     string `json:"expires"`
	Fingerprint string `json:"fingerprint"`
	Name        string `json:"name"`
}

EmailpkiOpenpgp represents a UTM Email encryption OpenPGP key

func (*EmailpkiOpenpgp) DeletePath

func (*EmailpkiOpenpgp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiOpenpgp DELETE path Creates or updates the complete object openpgp

func (*EmailpkiOpenpgp) GetPath

func (e *EmailpkiOpenpgp) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiOpenpgps GET path Returns all available openpgp types

func (*EmailpkiOpenpgp) PatchPath

func (*EmailpkiOpenpgp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiOpenpgp PATCH path Changes to parts of the object openpgp types

func (*EmailpkiOpenpgp) PostPath

func (*EmailpkiOpenpgp) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiOpenpgp POST path Create a new emailpki/openpgp object

func (*EmailpkiOpenpgp) PutPath

func (*EmailpkiOpenpgp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiOpenpgp PUT path Creates or updates the complete object openpgp

func (*EmailpkiOpenpgp) RefRequired

func (e *EmailpkiOpenpgp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiOpenpgp) UsedByPath

func (*EmailpkiOpenpgp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiOpenpgps added in v0.1.1

type EmailpkiOpenpgps []EmailpkiOpenpgp

EmailpkiOpenpgps is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiOpenpgps) GetPath added in v0.1.1

func (*EmailpkiOpenpgps) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiOpenpgps GET path Returns all available emailpki/openpgp objects

func (*EmailpkiOpenpgps) RefRequired added in v0.1.1

func (*EmailpkiOpenpgps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EmailpkiSmime

type EmailpkiSmime struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Realname default value is ""
	Realname string `json:"realname"`
	// Trust default value is false
	Trust       bool   `json:"trust"`
	Cert        string `json:"cert"`
	Fingerprint string `json:"fingerprint"`
	// Key default value is ""
	Key     string `json:"key"`
	Name    string `json:"name"`
	Expires string `json:"expires"`
	Comment string `json:"comment"`
	Dn      string `json:"dn"`
	// Domaincert default value is false
	Domaincert bool          `json:"domaincert"`
	Emails     []interface{} `json:"emails"`
}

EmailpkiSmime represents a UTM email encryption S/MIME certificate

func (*EmailpkiSmime) DeletePath

func (*EmailpkiSmime) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiSmime DELETE path Creates or updates the complete object smime

func (*EmailpkiSmime) GetPath

func (e *EmailpkiSmime) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiSmimes GET path Returns all available smime types

func (*EmailpkiSmime) PatchPath

func (*EmailpkiSmime) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiSmime PATCH path Changes to parts of the object smime types

func (*EmailpkiSmime) PostPath

func (*EmailpkiSmime) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiSmime POST path Create a new emailpki/smime object

func (*EmailpkiSmime) PutPath

func (*EmailpkiSmime) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiSmime PUT path Creates or updates the complete object smime

func (*EmailpkiSmime) RefRequired

func (e *EmailpkiSmime) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiSmime) UsedByPath

func (*EmailpkiSmime) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiSmimes added in v0.1.1

type EmailpkiSmimes []EmailpkiSmime

EmailpkiSmimes is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiSmimes) GetPath added in v0.1.1

func (*EmailpkiSmimes) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiSmimes GET path Returns all available emailpki/smime objects

func (*EmailpkiSmimes) RefRequired added in v0.1.1

func (*EmailpkiSmimes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EmailpkiUser

type EmailpkiUser struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Decrypt can be one of: []string{"global", "on", "off"}
	// Decrypt default value is "global"
	Decrypt string `json:"decrypt"`
	// Encrypt can be one of: []string{"global", "on", "off"}
	// Encrypt default value is "global"
	Encrypt string `json:"encrypt"`
	// Openpgp description: REF(emailpki/openpgp)
	// Openpgp default value is ""
	Openpgp  string `json:"openpgp"`
	Realname string `json:"realname"`
	// Sign can be one of: []string{"global", "on", "off"}
	// Sign default value is "global"
	Sign string `json:"sign"`
	// Smime description: REF(emailpki/smime)
	// Smime default value is ""
	Smime string `json:"smime"`
	// Domaincert default value is false
	Domaincert bool   `json:"domaincert"`
	Name       string `json:"name"`
	// OpenpgpStatus default value is true
	OpenpgpStatus bool `json:"openpgp_status"`
	// SmimeStatus default value is true
	SmimeStatus bool `json:"smime_status"`
	// Verify can be one of: []string{"global", "on", "off"}
	// Verify default value is "global"
	Verify string `json:"verify"`
}

EmailpkiUser represents a UTM email encryption user

func (*EmailpkiUser) DeletePath

func (*EmailpkiUser) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiUser DELETE path Creates or updates the complete object user

func (*EmailpkiUser) GetPath

func (e *EmailpkiUser) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiUsers GET path Returns all available user types

func (*EmailpkiUser) PatchPath

func (*EmailpkiUser) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiUser PATCH path Changes to parts of the object user types

func (*EmailpkiUser) PostPath

func (*EmailpkiUser) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiUser POST path Create a new emailpki/user object

func (*EmailpkiUser) PutPath

func (*EmailpkiUser) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiUser PUT path Creates or updates the complete object user

func (*EmailpkiUser) RefRequired

func (e *EmailpkiUser) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiUser) UsedByPath

func (*EmailpkiUser) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiUsers added in v0.1.1

type EmailpkiUsers []EmailpkiUser

EmailpkiUsers is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiUsers) GetPath added in v0.1.1

func (*EmailpkiUsers) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiUsers GET path Returns all available emailpki/user objects

func (*EmailpkiUsers) RefRequired added in v0.1.1

func (*EmailpkiUsers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Epp

type Epp struct {
	AllowedNetworks       []string      `json:"allowed_networks"`
	Certificate           string        `json:"certificate"`
	City                  string        `json:"city"`
	Country               string        `json:"country"`
	DefaultEndpointsGroup string        `json:"default_endpoints_group"`
	Devices               []interface{} `json:"devices"`
	Email                 string        `json:"email"`
	Endpoints             []interface{} `json:"endpoints"`
	EndpointsGroups       []string      `json:"endpoints_groups"`
	Exceptions            struct {
		Av []interface{} `json:"av"`
		Dc []interface{} `json:"dc"`
	} `json:"exceptions"`
	FallbackURL       string `json:"fallback_url"`
	MagnetPassword    string `json:"magnet_password"`
	MagnetUsername    string `json:"magnet_username"`
	Organization      string `json:"organization"`
	ParentProxyHost   string `json:"parent_proxy_host"`
	ParentProxyPort   int64  `json:"parent_proxy_port"`
	ParentProxyStatus int64  `json:"parent_proxy_status"`
	Policies          struct {
		Av []string `json:"av"`
		Dc []string `json:"dc"`
	} `json:"policies"`
	Port              int64  `json:"port"`
	PrivateKey        string `json:"private_key"`
	RegistrationToken string `json:"registration_token"`
	Status            struct {
		Av     int64 `json:"av"`
		Broker int64 `json:"broker"`
		Dc     int64 `json:"dc"`
		Epp    int64 `json:"epp"`
		Wc     int64 `json:"wc"`
	} `json:"status"`
	TamperPassword string `json:"tamper_password"`
	Version        string `json:"version"`
	WdxToken       string `json:"wdx_token"`
}

Epp is a generated struct representing the Sophos Epp Endpoint GET /api/nodes/epp

func (Epp) ApiRoutes

func (Epp) ApiRoutes() []string

ApiRoutes returns all known Epp Paths

func (Epp) Definition

func (Epp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Epp

func (*Epp) GetPath

func (*Epp) GetPath() string

GetPath implements sophos.RestGetter

func (*Epp) RefRequired

func (*Epp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Epp) References

func (Epp) References() []string

References returns the Epp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Epp) RestObjects

func (Epp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Epp's Objects

type EppAvException

type EppAvException struct {
	Locked          string        `json:"_locked"`
	ObjectType      string        `json:"_type"`
	Reference       string        `json:"_ref"`
	EndpointsGroups []interface{} `json:"endpoints_groups"`
	HipsName        string        `json:"hips_name"`
	// IpAddress description: (IPADDR)
	// IpAddress default value is ""
	IpAddress string `json:"ip_address"`
	// Timeline default value is ""
	Timeline string `json:"timeline"`
	// Type can be one of: []string{"adware_pua", "scanning_exclusions", "scanning_extensions", "buffer_overflow", "suspicious_files", "suspicious_behaviours", "websites"}
	// Type default value is "websites"
	Type string `json:"type"`
	// Checksum default value is ""
	Checksum      string `json:"checksum"`
	Comment       string `json:"comment"`
	IpAddressMask int    `json:"ip_address_mask"`
	Name          string `json:"name"`
	// WebFormat can be one of: []string{"domain_name", "ip_address", "ip_address_mask"}
	// WebFormat default value is "domain_name"
	WebFormat string `json:"web_format"`
}

EppAvException represents a UTM antivirus exception

func (*EppAvException) DeletePath

func (*EppAvException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppAvException DELETE path Creates or updates the complete object av_exception

func (*EppAvException) GetPath

func (e *EppAvException) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvExceptions GET path Returns all available av_exception types

func (*EppAvException) PatchPath

func (*EppAvException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppAvException PATCH path Changes to parts of the object av_exception types

func (*EppAvException) PostPath

func (*EppAvException) PostPath() string

PostPath implements sophos.RestObject and returns the EppAvException POST path Create a new epp/av_exception object

func (*EppAvException) PutPath

func (*EppAvException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppAvException PUT path Creates or updates the complete object av_exception

func (*EppAvException) RefRequired

func (e *EppAvException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppAvException) UsedByPath

func (*EppAvException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppAvExceptions added in v0.1.1

type EppAvExceptions []EppAvException

EppAvExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppAvExceptions) GetPath added in v0.1.1

func (*EppAvExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvExceptions GET path Returns all available epp/av_exception objects

func (*EppAvExceptions) RefRequired added in v0.1.1

func (*EppAvExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppAvPolicy

type EppAvPolicy struct {
	Locked                    string `json:"_locked"`
	Reference                 string `json:"_ref"`
	ObjectType                string `json:"_type"`
	AlertOnly                 bool   `json:"alert_only"`
	AutoCleanup               bool   `json:"auto_cleanup"`
	BlockMaliciousSites       bool   `json:"block_malicious_sites"`
	Comment                   string `json:"comment"`
	DetectBufferOverflow      bool   `json:"detect_buffer_overflow"`
	DetectMaliciousFiles      bool   `json:"detect_malicious_files"`
	DetectSuspiciousBehaviour bool   `json:"detect_suspicious_behaviour"`
	DownloadScanning          bool   `json:"download_scanning"`
	Hips                      bool   `json:"hips"`
	LowPriorityScan           bool   `json:"low_priority_scan"`
	Name                      string `json:"name"`
	OnAccessScanning          bool   `json:"on_access_scanning"`
	OnRead                    bool   `json:"on_read"`
	OnRename                  bool   `json:"on_rename"`
	OnWrite                   bool   `json:"on_write"`
	RootKitScan               bool   `json:"root_kit_scan"`
	ScanForPua                bool   `json:"scan_for_pua"`
	ScanForSuspiciousFiles    bool   `json:"scan_for_suspicious_files"`
	ScanInsideArchive         bool   `json:"scan_inside_archive"`
	ScanSystemMemory          bool   `json:"scan_system_memory"`
	ScheduledScanning         bool   `json:"scheduled_scanning"`
	SendSampleFile            bool   `json:"send_sample_file"`
	SophosLiveProtection      bool   `json:"sophos_live_protection"`
	TimeEvent                 string `json:"time_event"`
	WebProtection             bool   `json:"web_protection"`
}

EppAvPolicy is a generated Sophos object

func (*EppAvPolicy) DeletePath

func (*EppAvPolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppAvPolicy DELETE path Creates or updates the complete object av_policy

func (*EppAvPolicy) GetPath

func (e *EppAvPolicy) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvPolicys GET path Returns all available av_policy types

func (*EppAvPolicy) GetType

func (e *EppAvPolicy) GetType() string

GetType implements sophos.Object

func (*EppAvPolicy) PatchPath

func (*EppAvPolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppAvPolicy PATCH path Changes to parts of the object av_policy types

func (*EppAvPolicy) PostPath

func (*EppAvPolicy) PostPath() string

PostPath implements sophos.RestObject and returns the EppAvPolicy POST path Create a new epp/av_policy object

func (*EppAvPolicy) PutPath

func (*EppAvPolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppAvPolicy PUT path Creates or updates the complete object av_policy

func (*EppAvPolicy) RefRequired

func (e *EppAvPolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppAvPolicy) UsedByPath

func (*EppAvPolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppAvPolicys

type EppAvPolicys []EppAvPolicy

EppAvPolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppAvPolicys) GetPath

func (*EppAvPolicys) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvPolicys GET path Returns all available epp/av_policy objects

func (*EppAvPolicys) RefRequired

func (*EppAvPolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppDcException

type EppDcException struct {
	Locked                       string        `json:"_locked"`
	ObjectType                   string        `json:"_type"`
	Reference                    string        `json:"_ref"`
	CustomBlockedEndpointsGroups []interface{} `json:"custom_blocked_endpoints_groups"`
	DeviceId                     string        `json:"device_id"`
	// DeviceType can be one of: []string{"floppy_drive", "optical_drive", "removable_storage", "encrypted_storage", "modem", "wireless", "bluetooth", "infrared"}
	// DeviceType default value is "removable_storage"
	DeviceType             string        `json:"device_type"`
	Name                   string        `json:"name"`
	AllowedEndpointsGroups []interface{} `json:"allowed_endpoints_groups"`
	Comment                string        `json:"comment"`
}

EppDcException represents a UTM device exception

func (*EppDcException) DeletePath

func (*EppDcException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppDcException DELETE path Creates or updates the complete object dc_exception

func (*EppDcException) GetPath

func (e *EppDcException) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcExceptions GET path Returns all available dc_exception types

func (*EppDcException) PatchPath

func (*EppDcException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppDcException PATCH path Changes to parts of the object dc_exception types

func (*EppDcException) PostPath

func (*EppDcException) PostPath() string

PostPath implements sophos.RestObject and returns the EppDcException POST path Create a new epp/dc_exception object

func (*EppDcException) PutPath

func (*EppDcException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppDcException PUT path Creates or updates the complete object dc_exception

func (*EppDcException) RefRequired

func (e *EppDcException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppDcException) UsedByPath

func (*EppDcException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppDcExceptions added in v0.1.1

type EppDcExceptions []EppDcException

EppDcExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppDcExceptions) GetPath added in v0.1.1

func (*EppDcExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcExceptions GET path Returns all available epp/dc_exception objects

func (*EppDcExceptions) RefRequired added in v0.1.1

func (*EppDcExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppDcPolicy

type EppDcPolicy struct {
	Locked           string `json:"_locked"`
	Reference        string `json:"_ref"`
	ObjectType       string `json:"_type"`
	Bluetooth        string `json:"bluetooth"`
	Comment          string `json:"comment"`
	EncryptedStorage string `json:"encrypted_storage"`
	FloppyDrive      string `json:"floppy_drive"`
	Infrared         string `json:"infrared"`
	Modem            string `json:"modem"`
	Name             string `json:"name"`
	OpticalDrive     string `json:"optical_drive"`
	RemovableStorage string `json:"removable_storage"`
	Wireless         string `json:"wireless"`
}

EppDcPolicy is a generated Sophos object

func (*EppDcPolicy) DeletePath

func (*EppDcPolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppDcPolicy DELETE path Creates or updates the complete object dc_policy

func (*EppDcPolicy) GetPath

func (e *EppDcPolicy) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcPolicys GET path Returns all available dc_policy types

func (*EppDcPolicy) GetType

func (e *EppDcPolicy) GetType() string

GetType implements sophos.Object

func (*EppDcPolicy) PatchPath

func (*EppDcPolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppDcPolicy PATCH path Changes to parts of the object dc_policy types

func (*EppDcPolicy) PostPath

func (*EppDcPolicy) PostPath() string

PostPath implements sophos.RestObject and returns the EppDcPolicy POST path Create a new epp/dc_policy object

func (*EppDcPolicy) PutPath

func (*EppDcPolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppDcPolicy PUT path Creates or updates the complete object dc_policy

func (*EppDcPolicy) RefRequired

func (e *EppDcPolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppDcPolicy) UsedByPath

func (*EppDcPolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppDcPolicys

type EppDcPolicys []EppDcPolicy

EppDcPolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppDcPolicys) GetPath

func (*EppDcPolicys) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcPolicys GET path Returns all available epp/dc_policy objects

func (*EppDcPolicys) RefRequired

func (*EppDcPolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppDevice

type EppDevice struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// ProductName default value is ""
	ProductName                  string        `json:"product_name"`
	AllowedEndpointsGroups       []interface{} `json:"allowed_endpoints_groups"`
	CustomBlockedEndpointsGroups []interface{} `json:"custom_blocked_endpoints_groups"`
	DeviceId                     string        `json:"device_id"`
	// GenericFlag default value is false
	GenericFlag bool `json:"generic_flag"`
	// LastEndpoint description: REF(epp/endpoint)
	// LastEndpoint default value is ""
	LastEndpoint string `json:"last_endpoint"`
	Name         string `json:"name"`
	Comment      string `json:"comment"`
	// DeviceType can be one of: []string{"floppy_drive", "optical_drive", "removable_storage", "encrypted_storage", "modem", "wireless", "bluetooth", "infrared"}
	// DeviceType default value is "removable_storage"
	DeviceType string `json:"device_type"`
	// InstanceId default value is ""
	InstanceId string `json:"instance_id"`
}

EppDevice represents a UTM device

func (*EppDevice) DeletePath

func (*EppDevice) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppDevice DELETE path Creates or updates the complete object device

func (*EppDevice) GetPath

func (e *EppDevice) GetPath() string

GetPath implements sophos.RestObject and returns the EppDevices GET path Returns all available device types

func (*EppDevice) PatchPath

func (*EppDevice) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppDevice PATCH path Changes to parts of the object device types

func (*EppDevice) PostPath

func (*EppDevice) PostPath() string

PostPath implements sophos.RestObject and returns the EppDevice POST path Create a new epp/device object

func (*EppDevice) PutPath

func (*EppDevice) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppDevice PUT path Creates or updates the complete object device

func (*EppDevice) RefRequired

func (e *EppDevice) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppDevice) UsedByPath

func (*EppDevice) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppDevices added in v0.1.1

type EppDevices []EppDevice

EppDevices is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppDevices) GetPath added in v0.1.1

func (*EppDevices) GetPath() string

GetPath implements sophos.RestObject and returns the EppDevices GET path Returns all available epp/device objects

func (*EppDevices) RefRequired added in v0.1.1

func (*EppDevices) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppEndpoint

type EppEndpoint struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Os default value is ""
	Os string `json:"os"`
	// SavVersion default value is ""
	SavVersion string `json:"sav_version"`
	// TamperProtection default value is false
	TamperProtection bool `json:"tamper_protection"`
	// McsId default value is ""
	McsId string `json:"mcs_id"`
	Name  string `json:"name"`
	// SavStatus default value is false
	SavStatus bool `json:"sav_status"`
	// Accepted default value is false
	Accepted bool   `json:"accepted"`
	Comment  string `json:"comment"`
	// EndpointType can be one of: []string{"laptop", "desktop", "server"}
	// EndpointType default value is "desktop"
	EndpointType string `json:"endpoint_type"`
	// InventoryNumber default value is ""
	InventoryNumber string `json:"inventory_number"`
}

EppEndpoint represents a UTM computer

func (*EppEndpoint) DeletePath

func (*EppEndpoint) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppEndpoint DELETE path Creates or updates the complete object endpoint

func (*EppEndpoint) GetPath

func (e *EppEndpoint) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpoints GET path Returns all available endpoint types

func (*EppEndpoint) PatchPath

func (*EppEndpoint) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppEndpoint PATCH path Changes to parts of the object endpoint types

func (*EppEndpoint) PostPath

func (*EppEndpoint) PostPath() string

PostPath implements sophos.RestObject and returns the EppEndpoint POST path Create a new epp/endpoint object

func (*EppEndpoint) PutPath

func (*EppEndpoint) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppEndpoint PUT path Creates or updates the complete object endpoint

func (*EppEndpoint) RefRequired

func (e *EppEndpoint) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppEndpoint) UsedByPath

func (*EppEndpoint) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppEndpoints added in v0.1.1

type EppEndpoints []EppEndpoint

EppEndpoints is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppEndpoints) GetPath added in v0.1.1

func (*EppEndpoints) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpoints GET path Returns all available epp/endpoint objects

func (*EppEndpoints) RefRequired added in v0.1.1

func (*EppEndpoints) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppEndpointsGroup

type EppEndpointsGroup struct {
	Locked           string        `json:"_locked"`
	Reference        string        `json:"_ref"`
	ObjectType       string        `json:"_type"`
	AvPolicy         string        `json:"av_policy"`
	Comment          string        `json:"comment"`
	DcPolicy         string        `json:"dc_policy"`
	Endpoints        []interface{} `json:"endpoints"`
	Name             string        `json:"name"`
	ProxyAddress     string        `json:"proxy_address"`
	ProxyPassword    string        `json:"proxy_password"`
	ProxyPort        int64         `json:"proxy_port"`
	ProxySupport     bool          `json:"proxy_support"`
	ProxyUser        string        `json:"proxy_user"`
	TamperProtection bool          `json:"tamper_protection"`
	WebControl       bool          `json:"web_control"`
}

EppEndpointsGroup is a generated Sophos object

func (*EppEndpointsGroup) DeletePath

func (*EppEndpointsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppEndpointsGroup DELETE path Creates or updates the complete object endpoints_group

func (*EppEndpointsGroup) GetPath

func (e *EppEndpointsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpointsGroups GET path Returns all available endpoints_group types

func (*EppEndpointsGroup) GetType

func (e *EppEndpointsGroup) GetType() string

GetType implements sophos.Object

func (*EppEndpointsGroup) PatchPath

func (*EppEndpointsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppEndpointsGroup PATCH path Changes to parts of the object endpoints_group types

func (*EppEndpointsGroup) PostPath

func (*EppEndpointsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the EppEndpointsGroup POST path Create a new epp/endpoints_group object

func (*EppEndpointsGroup) PutPath

func (*EppEndpointsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppEndpointsGroup PUT path Creates or updates the complete object endpoints_group

func (*EppEndpointsGroup) RefRequired

func (e *EppEndpointsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppEndpointsGroup) UsedByPath

func (*EppEndpointsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppEndpointsGroups

type EppEndpointsGroups []EppEndpointsGroup

EppEndpointsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppEndpointsGroups) GetPath

func (*EppEndpointsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpointsGroups GET path Returns all available epp/endpoints_group objects

func (*EppEndpointsGroups) RefRequired

func (*EppEndpointsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppGroup

type EppGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

EppGroup represents a UTM group

func (*EppGroup) DeletePath

func (*EppGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppGroup DELETE path Creates or updates the complete object group

func (*EppGroup) GetPath

func (e *EppGroup) GetPath() string

GetPath implements sophos.RestObject and returns the EppGroups GET path Returns all available group types

func (*EppGroup) PatchPath

func (*EppGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppGroup PATCH path Changes to parts of the object group types

func (*EppGroup) PostPath

func (*EppGroup) PostPath() string

PostPath implements sophos.RestObject and returns the EppGroup POST path Create a new epp/group object

func (*EppGroup) PutPath

func (*EppGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppGroup PUT path Creates or updates the complete object group

func (*EppGroup) RefRequired

func (e *EppGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppGroup) UsedByPath

func (*EppGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppGroups added in v0.1.1

type EppGroups []EppGroup

EppGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppGroups) GetPath added in v0.1.1

func (*EppGroups) GetPath() string

GetPath implements sophos.RestObject and returns the EppGroups GET path Returns all available epp/group objects

func (*EppGroups) RefRequired added in v0.1.1

func (*EppGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Ftp

type Ftp struct {
	AllowedClients        []interface{} `json:"allowed_clients"`
	AllowedServers        []string      `json:"allowed_servers"`
	CffAv                 int64         `json:"cff_av"`
	CffAvEngines          string        `json:"cff_av_engines"`
	CffFileExtensions     []interface{} `json:"cff_file_extensions"`
	Exceptions            []interface{} `json:"exceptions"`
	MaxFileSize           int64         `json:"max_file_size"`
	MsWinMode             int64         `json:"ms_win_mode"`
	OperationMode         string        `json:"operation_mode"`
	RestrictedServers     []string      `json:"restricted_servers"`
	Status                int64         `json:"status"`
	TransparentSkip       []interface{} `json:"transparent_skip"`
	TransparentSkipAutoPf int64         `json:"transparent_skip_auto_pf"`
}

Ftp is a generated struct representing the Sophos Ftp Endpoint GET /api/nodes/ftp

func (Ftp) ApiRoutes

func (Ftp) ApiRoutes() []string

ApiRoutes returns all known Ftp Paths

func (Ftp) Definition

func (Ftp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ftp

func (*Ftp) GetPath

func (*Ftp) GetPath() string

GetPath implements sophos.RestGetter

func (*Ftp) RefRequired

func (*Ftp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ftp) References

func (Ftp) References() []string

References returns the Ftp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ftp) RestObjects

func (Ftp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ftp's Objects

type FtpException

type FtpException struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Skiplist   []interface{} `json:"skiplist"`
	// Status default value is false
	Status  bool          `json:"status"`
	Client  []interface{} `json:"client"`
	Comment string        `json:"comment"`
	Name    string        `json:"name"`
	Server  []interface{} `json:"server"`
}

FtpException represents a UTM FTP filter exception

func (*FtpException) DeletePath

func (*FtpException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the FtpException DELETE path Creates or updates the complete object exception

func (*FtpException) GetPath

func (f *FtpException) GetPath() string

GetPath implements sophos.RestObject and returns the FtpExceptions GET path Returns all available exception types

func (*FtpException) PatchPath

func (*FtpException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the FtpException PATCH path Changes to parts of the object exception types

func (*FtpException) PostPath

func (*FtpException) PostPath() string

PostPath implements sophos.RestObject and returns the FtpException POST path Create a new ftp/exception object

func (*FtpException) PutPath

func (*FtpException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the FtpException PUT path Creates or updates the complete object exception

func (*FtpException) RefRequired

func (f *FtpException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*FtpException) UsedByPath

func (*FtpException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type FtpExceptions added in v0.1.1

type FtpExceptions []FtpException

FtpExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*FtpExceptions) GetPath added in v0.1.1

func (*FtpExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the FtpExceptions GET path Returns all available ftp/exception objects

func (*FtpExceptions) RefRequired added in v0.1.1

func (*FtpExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type FtpGroup

type FtpGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

FtpGroup represents a UTM group

func (*FtpGroup) DeletePath

func (*FtpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the FtpGroup DELETE path Creates or updates the complete object group

func (*FtpGroup) GetPath

func (f *FtpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the FtpGroups GET path Returns all available group types

func (*FtpGroup) PatchPath

func (*FtpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the FtpGroup PATCH path Changes to parts of the object group types

func (*FtpGroup) PostPath

func (*FtpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the FtpGroup POST path Create a new ftp/group object

func (*FtpGroup) PutPath

func (*FtpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the FtpGroup PUT path Creates or updates the complete object group

func (*FtpGroup) RefRequired

func (f *FtpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*FtpGroup) UsedByPath

func (*FtpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type FtpGroups added in v0.1.1

type FtpGroups []FtpGroup

FtpGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*FtpGroups) GetPath added in v0.1.1

func (*FtpGroups) GetPath() string

GetPath implements sophos.RestObject and returns the FtpGroups GET path Returns all available ftp/group objects

func (*FtpGroups) RefRequired added in v0.1.1

func (*FtpGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Geoip

type Geoip struct {
	CountriesDst []string      `json:"countries_dst"`
	CountriesSrc []string      `json:"countries_src"`
	Exceptions   []interface{} `json:"exceptions"`
	Log          string        `json:"log"`
	Status       int64         `json:"status"`
}

Geoip is a generated struct representing the Sophos Geoip Endpoint GET /api/nodes/geoip

func (Geoip) ApiRoutes

func (Geoip) ApiRoutes() []string

ApiRoutes returns all known Geoip Paths

func (Geoip) Definition

func (Geoip) Definition() sophos.Definition

Definition returns the /api/definitions struct of Geoip

func (*Geoip) GetPath

func (*Geoip) GetPath() string

GetPath implements sophos.RestGetter

func (*Geoip) RefRequired

func (*Geoip) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Geoip) References

func (Geoip) References() []string

References returns the Geoip's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Geoip) RestObjects

func (Geoip) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Geoip's Objects

type GeoipDstexception

type GeoipDstexception struct {
	Locked              string        `json:"_locked"`
	ObjectType          string        `json:"_type"`
	Reference           string        `json:"_ref"`
	DestinationNetworks []interface{} `json:"destination_networks"`
	Name                string        `json:"name"`
	Services            []interface{} `json:"services"`
	// Status default value is false
	Status    bool          `json:"status"`
	Comment   string        `json:"comment"`
	Countries []interface{} `json:"countries"`
}

GeoipDstexception represents a UTM incoming exceptions

func (*GeoipDstexception) DeletePath

func (*GeoipDstexception) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipDstexception DELETE path Creates or updates the complete object dstexception

func (*GeoipDstexception) GetPath

func (g *GeoipDstexception) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipDstexceptions GET path Returns all available dstexception types

func (*GeoipDstexception) PatchPath

func (*GeoipDstexception) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipDstexception PATCH path Changes to parts of the object dstexception types

func (*GeoipDstexception) PostPath

func (*GeoipDstexception) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipDstexception POST path Create a new geoip/dstexception object

func (*GeoipDstexception) PutPath

func (*GeoipDstexception) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipDstexception PUT path Creates or updates the complete object dstexception

func (*GeoipDstexception) RefRequired

func (g *GeoipDstexception) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipDstexception) UsedByPath

func (*GeoipDstexception) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipDstexceptions added in v0.1.1

type GeoipDstexceptions []GeoipDstexception

GeoipDstexceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipDstexceptions) GetPath added in v0.1.1

func (*GeoipDstexceptions) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipDstexceptions GET path Returns all available geoip/dstexception objects

func (*GeoipDstexceptions) RefRequired added in v0.1.1

func (*GeoipDstexceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type GeoipGeoipgroup

type GeoipGeoipgroup struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	Countries  []string `json:"countries"`
	Name       string   `json:"name"`
}

GeoipGeoipgroup is a generated Sophos object

func (*GeoipGeoipgroup) DeletePath

func (*GeoipGeoipgroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipGeoipgroup DELETE path Creates or updates the complete object geoipgroup

func (*GeoipGeoipgroup) GetPath

func (g *GeoipGeoipgroup) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGeoipgroups GET path Returns all available geoipgroup types

func (*GeoipGeoipgroup) GetType

func (g *GeoipGeoipgroup) GetType() string

GetType implements sophos.Object

func (*GeoipGeoipgroup) PatchPath

func (*GeoipGeoipgroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipGeoipgroup PATCH path Changes to parts of the object geoipgroup types

func (*GeoipGeoipgroup) PostPath

func (*GeoipGeoipgroup) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipGeoipgroup POST path Create a new geoip/geoipgroup object

func (*GeoipGeoipgroup) PutPath

func (*GeoipGeoipgroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipGeoipgroup PUT path Creates or updates the complete object geoipgroup

func (*GeoipGeoipgroup) RefRequired

func (g *GeoipGeoipgroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipGeoipgroup) UsedByPath

func (*GeoipGeoipgroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipGeoipgroups

type GeoipGeoipgroups []GeoipGeoipgroup

GeoipGeoipgroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipGeoipgroups) GetPath

func (*GeoipGeoipgroups) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGeoipgroups GET path Returns all available geoip/geoipgroup objects

func (*GeoipGeoipgroups) RefRequired

func (*GeoipGeoipgroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type GeoipGroup

type GeoipGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

GeoipGroup represents a UTM group

func (*GeoipGroup) DeletePath

func (*GeoipGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipGroup DELETE path Creates or updates the complete object group

func (*GeoipGroup) GetPath

func (g *GeoipGroup) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGroups GET path Returns all available group types

func (*GeoipGroup) PatchPath

func (*GeoipGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipGroup PATCH path Changes to parts of the object group types

func (*GeoipGroup) PostPath

func (*GeoipGroup) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipGroup POST path Create a new geoip/group object

func (*GeoipGroup) PutPath

func (*GeoipGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipGroup PUT path Creates or updates the complete object group

func (*GeoipGroup) RefRequired

func (g *GeoipGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipGroup) UsedByPath

func (*GeoipGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipGroups added in v0.1.1

type GeoipGroups []GeoipGroup

GeoipGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipGroups) GetPath added in v0.1.1

func (*GeoipGroups) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGroups GET path Returns all available geoip/group objects

func (*GeoipGroups) RefRequired added in v0.1.1

func (*GeoipGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type GeoipSrcexception

type GeoipSrcexception struct {
	Locked         string        `json:"_locked"`
	ObjectType     string        `json:"_type"`
	Reference      string        `json:"_ref"`
	Comment        string        `json:"comment"`
	Countries      []interface{} `json:"countries"`
	Name           string        `json:"name"`
	Services       []interface{} `json:"services"`
	SourceNetworks []interface{} `json:"source_networks"`
	// Status default value is false
	Status bool `json:"status"`
}

GeoipSrcexception represents a UTM outgoing exceptions

func (*GeoipSrcexception) DeletePath

func (*GeoipSrcexception) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipSrcexception DELETE path Creates or updates the complete object srcexception

func (*GeoipSrcexception) GetPath

func (g *GeoipSrcexception) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipSrcexceptions GET path Returns all available srcexception types

func (*GeoipSrcexception) PatchPath

func (*GeoipSrcexception) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipSrcexception PATCH path Changes to parts of the object srcexception types

func (*GeoipSrcexception) PostPath

func (*GeoipSrcexception) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipSrcexception POST path Create a new geoip/srcexception object

func (*GeoipSrcexception) PutPath

func (*GeoipSrcexception) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipSrcexception PUT path Creates or updates the complete object srcexception

func (*GeoipSrcexception) RefRequired

func (g *GeoipSrcexception) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipSrcexception) UsedByPath

func (*GeoipSrcexception) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipSrcexceptions added in v0.1.1

type GeoipSrcexceptions []GeoipSrcexception

GeoipSrcexceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipSrcexceptions) GetPath added in v0.1.1

func (*GeoipSrcexceptions) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipSrcexceptions GET path Returns all available geoip/srcexception objects

func (*GeoipSrcexceptions) RefRequired added in v0.1.1

func (*GeoipSrcexceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Hotspot

type Hotspot struct {
	Cert            string        `json:"cert"`
	DeleteDays      int64         `json:"delete_days"`
	SslPortal       int64         `json:"ssl_portal"`
	Status          int64         `json:"status"`
	TransparentSkip []interface{} `json:"transparent_skip"`
}

Hotspot is a generated struct representing the Sophos Hotspot Endpoint GET /api/nodes/hotspot

func (Hotspot) ApiRoutes

func (Hotspot) ApiRoutes() []string

ApiRoutes returns all known Hotspot Paths

func (Hotspot) Definition

func (Hotspot) Definition() sophos.Definition

Definition returns the /api/definitions struct of Hotspot

func (*Hotspot) GetPath

func (*Hotspot) GetPath() string

GetPath implements sophos.RestGetter

func (*Hotspot) RefRequired

func (*Hotspot) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Hotspot) References

func (Hotspot) References() []string

References returns the Hotspot's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Hotspot) RestObjects

func (Hotspot) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Hotspot's Objects

type HotspotGroup

type HotspotGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

HotspotGroup represents a UTM group

func (*HotspotGroup) DeletePath

func (*HotspotGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HotspotGroup DELETE path Creates or updates the complete object group

func (*HotspotGroup) GetPath

func (h *HotspotGroup) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotGroups GET path Returns all available group types

func (*HotspotGroup) PatchPath

func (*HotspotGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HotspotGroup PATCH path Changes to parts of the object group types

func (*HotspotGroup) PostPath

func (*HotspotGroup) PostPath() string

PostPath implements sophos.RestObject and returns the HotspotGroup POST path Create a new hotspot/group object

func (*HotspotGroup) PutPath

func (*HotspotGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HotspotGroup PUT path Creates or updates the complete object group

func (*HotspotGroup) RefRequired

func (h *HotspotGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HotspotGroup) UsedByPath

func (*HotspotGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HotspotGroups added in v0.1.1

type HotspotGroups []HotspotGroup

HotspotGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*HotspotGroups) GetPath added in v0.1.1

func (*HotspotGroups) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotGroups GET path Returns all available hotspot/group objects

func (*HotspotGroups) RefRequired added in v0.1.1

func (*HotspotGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HotspotPortal

type HotspotPortal struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// HostnameType can be one of: []string{"none", "custom"}
	// HostnameType default value is "none"
	HostnameType string `json:"hostname_type"`
	Name         string `json:"name"`
	SmsText      string `json:"sms_text"`
	Terms        string `json:"terms"`
	// VoucherQrcode default value is false
	VoucherQrcode bool   `json:"voucher_qrcode"`
	Description   string `json:"description"`
	// FiasCodeset can be one of: []string{"cp850", "cp1252"}
	// FiasCodeset default value is "cp850"
	FiasCodeset string `json:"fias_codeset"`
	// FiasServer description: REF(network/host), REF(network/dns_host)
	// FiasServer default value is ""
	FiasServer string        `json:"fias_server"`
	Vouchers   []interface{} `json:"vouchers"`
	Maclimit   int           `json:"maclimit"`
	AdminUsers []interface{} `json:"admin_users"`
	Logo string `json:"logo"`
	// LogoResize default value is false
	LogoResize bool `json:"logo_resize"`
	// CustomAssets description: (HASH)
	CustomAssets interface{} `json:"custom_assets"`
	// Pagesize default value is "a4"
	Pagesize     string        `json:"pagesize"`
	Title        string        `json:"title"`
	HotspotUsers []interface{} `json:"hotspot_users"`
	// SslRedirect default value is false
	SslRedirect bool `json:"ssl_redirect"`
	// VoucherTemplate description: (HASH)
	VoucherTemplate interface{}   `json:"voucher_template"`
	VouchersPerPage int           `json:"vouchers_per_page"`
	Comment         string        `json:"comment"`
	Interfaces      []interface{} `json:"interfaces"`
	Mail            []interface{} `json:"mail"`
	// PwTime description: (TIME)
	PwTime      string `json:"pw_time"`
	RedirectUrl string `json:"redirect_url"`
	// SyncPsk default value is false
	SyncPsk bool `json:"sync_psk"`
	// Type can be one of: []string{"terms", "password", "voucher", "backend_auth", "sms", "fias"}
	Type string `json:"type"`
	// CustomizationType can be one of: []string{"basic", "full"}
	// CustomizationType default value is "basic"
	CustomizationType string `json:"customization_type"`
	// FiasPort description: REF(service/tcp)
	// FiasPort default value is ""
	FiasPort string `json:"fias_port"`
	// LogoFilename default value is "default_logo.png"
	LogoFilename string `json:"logo_filename"`
	Expiry       int    `json:"expiry"`
	// Hostname description: REF(network/dns_host)
	// Hostname default value is ""
	Hostname string `json:"hostname"`
	// Template description: (HASH)
	Template interface{} `json:"template"`
}

HotspotPortal represents a UTM hotspot

func (*HotspotPortal) DeletePath

func (*HotspotPortal) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HotspotPortal DELETE path Creates or updates the complete object portal

func (*HotspotPortal) GetPath

func (h *HotspotPortal) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotPortals GET path Returns all available portal types

func (*HotspotPortal) PatchPath

func (*HotspotPortal) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HotspotPortal PATCH path Changes to parts of the object portal types

func (*HotspotPortal) PostPath

func (*HotspotPortal) PostPath() string

PostPath implements sophos.RestObject and returns the HotspotPortal POST path Create a new hotspot/portal object

func (*HotspotPortal) PutPath

func (*HotspotPortal) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HotspotPortal PUT path Creates or updates the complete object portal

func (*HotspotPortal) RefRequired

func (h *HotspotPortal) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HotspotPortal) UsedByPath

func (*HotspotPortal) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HotspotPortals added in v0.1.1

type HotspotPortals []HotspotPortal

HotspotPortals is an Sophos Endpoint subType and implements sophos.RestObject

func (*HotspotPortals) GetPath added in v0.1.1

func (*HotspotPortals) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotPortals GET path Returns all available hotspot/portal objects

func (*HotspotPortals) RefRequired added in v0.1.1

func (*HotspotPortals) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HotspotVoucher

type HotspotVoucher struct {
	Locked       string `json:"_locked"`
	ObjectType   string `json:"_type"`
	Reference    string `json:"_ref"`
	Name         string `json:"name"`
	Timequota    int    `json:"timequota"`
	Trafficlimit int    `json:"trafficlimit"`
	Comment      string `json:"comment"`
	Expiry       int    `json:"expiry"`
}

HotspotVoucher represents a UTM voucher definiton

func (*HotspotVoucher) DeletePath

func (*HotspotVoucher) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HotspotVoucher DELETE path Creates or updates the complete object voucher

func (*HotspotVoucher) GetPath

func (h *HotspotVoucher) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotVouchers GET path Returns all available voucher types

func (*HotspotVoucher) PatchPath

func (*HotspotVoucher) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HotspotVoucher PATCH path Changes to parts of the object voucher types

func (*HotspotVoucher) PostPath

func (*HotspotVoucher) PostPath() string

PostPath implements sophos.RestObject and returns the HotspotVoucher POST path Create a new hotspot/voucher object

func (*HotspotVoucher) PutPath

func (*HotspotVoucher) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HotspotVoucher PUT path Creates or updates the complete object voucher

func (*HotspotVoucher) RefRequired

func (h *HotspotVoucher) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HotspotVoucher) UsedByPath

func (*HotspotVoucher) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HotspotVouchers added in v0.1.1

type HotspotVouchers []HotspotVoucher

HotspotVouchers is an Sophos Endpoint subType and implements sophos.RestObject

func (*HotspotVouchers) GetPath added in v0.1.1

func (*HotspotVouchers) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotVouchers GET path Returns all available hotspot/voucher objects

func (*HotspotVouchers) RefRequired added in v0.1.1

func (*HotspotVouchers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Http

type Http struct {
	AdSsoInterfaces                       []interface{} `json:"ad_sso_interfaces"`
	AdssoRedirectUseHostname              int64         `json:"adsso_redirect_use_hostname"`
	AllowSsl3                             int64         `json:"allow_ssl3"`
	AllowTLS1_2                           int64         `json:"allow_tls_1_2"`
	AllowedPuas                           []interface{} `json:"allowed_puas"`
	AllowedTargetServices                 []string      `json:"allowed_target_services"`
	AuaMaxconns                           int64         `json:"aua_maxconns"`
	AuaTimeout                            int64         `json:"aua_timeout"`
	AuthCacheSize                         int64         `json:"auth_cache_size"`
	AuthCacheTTL                          int64         `json:"auth_cache_ttl"`
	AuthRealm                             string        `json:"auth_realm"`
	AuthUsercacheTTL                      int64         `json:"auth_usercache_ttl"`
	BlockUnscannable                      int64         `json:"block_unscannable"`
	BypassStreaming                       int64         `json:"bypass_streaming"`
	CaList                                []interface{} `json:"ca_list"`
	CacheIgnoresCookies                   int64         `json:"cache_ignores_cookies"`
	Cachessl                              int64         `json:"cachessl"`
	Caching                               int64         `json:"caching"`
	Certcache                             string        `json:"certcache"`
	Certstore                             string        `json:"certstore"`
	CffOverrideUsers                      []interface{} `json:"cff_override_users"`
	ClientTimeout                         int64         `json:"client_timeout"`
	ConfLockWorkaround                    int64         `json:"conf_lock_workaround"`
	ConnectTimeout                        int64         `json:"connect_timeout"`
	ConnectV6Timeout                      int64         `json:"connect_v6_timeout"`
	Connlimit                             int64         `json:"connlimit"`
	CtypeInspectBody                      int64         `json:"ctype_inspect_body"`
	CtypeUnpackArchive                    int64         `json:"ctype_unpack_archive"`
	Debug                                 []interface{} `json:"debug"`
	Defaultblockaction                    string        `json:"defaultblockaction"`
	Deferagents                           []string      `json:"deferagents"`
	Deferlength                           int64         `json:"deferlength"`
	DisplayHTTPBlockpageExplicitMode      int64         `json:"display_http_blockpage_explicit_mode"`
	DisplayIntro                          int64         `json:"display_intro"`
	DownloadManagerDefaultCharset         string        `json:"download_manager_default_charset"`
	EdirDelayBasicAuth                    int64         `json:"edir_delay_basic_auth"`
	EnableOutInterface                    int64         `json:"enable_out_interface"`
	EppQuotaAction                        string        `json:"epp_quota_action"`
	Exceptions                            []string      `json:"exceptions"`
	ForcedCachingExtension                []string      `json:"forced_caching_extension"`
	ForcedCachingNeverCachePrefix         []string      `json:"forced_caching_never_cache_prefix"`
	ForcedCachingStatus                   int64         `json:"forced_caching_status"`
	ForcedCachingTTL                      int64         `json:"forced_caching_ttl"`
	ForcedCachingUserAgentPrefix          []string      `json:"forced_caching_user_agent_prefix"`
	HTTPLoopbackDetect                    int64         `json:"http_loopback_detect"`
	IeSslBlockpageWorkaround              int64         `json:"ie_ssl_blockpage_workaround"`
	LimitAdSsoInterfaces                  int64         `json:"limit_ad_sso_interfaces"`
	LocalSiteList                         []interface{} `json:"local_site_list"`
	MaxContentEncoding                    int64         `json:"max_content_encoding"`
	MaxTempfileSize                       int64         `json:"max_tempfile_size"`
	Maxthreads                            int64         `json:"maxthreads"`
	MaxthreadsUnused                      int64         `json:"maxthreads_unused"`
	Modulepath                            string        `json:"modulepath"`
	Modules                               []string      `json:"modules"`
	Noscancontent                         []string      `json:"noscancontent"`
	OpendirectoryKeytab                   string        `json:"opendirectory_keytab"`
	PacFile                               string        `json:"pac_file"`
	ParentProxyHost                       string        `json:"parent_proxy_host"`
	ParentProxyPort                       int64         `json:"parent_proxy_port"`
	ParentProxyStatus                     int64         `json:"parent_proxy_status"`
	PassthroughID                         string        `json:"passthrough_id"`
	PharmingProtection                    int64         `json:"pharming_protection"`
	Port                                  int64         `json:"port"`
	PortalCert                            string        `json:"portal_cert"`
	PortalCertChain                       []interface{} `json:"portal_cert_chain"`
	PortalDomain                          string        `json:"portal_domain"`
	PortalHosts                           []interface{} `json:"portal_hosts"`
	PortalUseCert                         int64         `json:"portal_use_cert"`
	ProceedCacheTimeout                   int64         `json:"proceed_cache_timeout"`
	Profiles                              []string      `json:"profiles"`
	QuotaSliceTime                        int64         `json:"quota_slice_time"`
	RemoveRequest                         []interface{} `json:"remove_request"`
	RemoveResponse                        []string      `json:"remove_response"`
	ResponseTimeout                       int64         `json:"response_timeout"`
	ScLocalDB                             string        `json:"sc_local_db"`
	ScanEppTraffic                        int64         `json:"scan_epp_traffic"`
	Searchdomain                          string        `json:"searchdomain"`
	StrictHTTP                            int64         `json:"strict_http"`
	TlsciphersClient                      string        `json:"tlsciphers_client"`
	TlsciphersServer                      string        `json:"tlsciphers_server"`
	TmpfsUsageMinMemsize                  int64         `json:"tmpfs_usage_min_memsize"`
	TransparentAuthTimeout                int64         `json:"transparent_auth_timeout"`
	TransparentDstSkip                    []interface{} `json:"transparent_dst_skip"`
	TransparentSkipAutoPf                 int64         `json:"transparent_skip_auto_pf"`
	TransparentSrcSkip                    []interface{} `json:"transparent_src_skip"`
	TunnelTimeout                         int64         `json:"tunnel_timeout"`
	TunnelV6Timeout                       int64         `json:"tunnel_v6_timeout"`
	Undefercontent                        []string      `json:"undefercontent"`
	Undeferextension                      []string      `json:"undeferextension"`
	URLFilteringRedirectURL               string        `json:"url_filtering_redirect_url"`
	UseConnectionInsteadofProxyconnection int64         `json:"use_connection_insteadof_proxyconnection"`
	UseDstaddrForGeopiplookup             int64         `json:"use_dstaddr_for_geopiplookup"`
	UseKrb5Adsso                          int64         `json:"use_krb5_adsso"`
	UseSni                                int64         `json:"use_sni"`
	UseSxlUrid                            int64         `json:"use_sxl_urid"`
}

Http is a generated struct representing the Sophos Http Endpoint GET /api/nodes/http

func (Http) ApiRoutes

func (Http) ApiRoutes() []string

ApiRoutes returns all known Http Paths

func (Http) Definition

func (Http) Definition() sophos.Definition

Definition returns the /api/definitions struct of Http

func (*Http) GetPath

func (*Http) GetPath() string

GetPath implements sophos.RestGetter

func (*Http) RefRequired

func (*Http) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Http) References

func (Http) References() []string

References returns the Http's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Http) RestObjects

func (Http) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Http's Objects

type HttpCffAction

type HttpCffAction struct {
	Locked                   string        `json:"_locked"`
	Reference                string        `json:"_ref"`
	ObjectType               string        `json:"_type"`
	AllowTags                []interface{} `json:"allow_tags"`
	Av                       bool          `json:"av"`
	AvEngines                string        `json:"av_engines"`
	BingSafesearch           string        `json:"bing_safesearch"`
	BlockTags                []interface{} `json:"block_tags"`
	CheckMaxDownload         bool          `json:"check_max_download"`
	Comment                  string        `json:"comment"`
	ContenttypeBlacklist     []interface{} `json:"contenttype_blacklist"`
	ContenttypeBlacklistWarn []interface{} `json:"contenttype_blacklist_warn"`
	CreativeCommonsFilter    bool          `json:"creative_commons_filter"`
	EmbeddedRemoval          bool          `json:"embedded_removal"`
	Extensions               []string      `json:"extensions"`
	ExtensionsWarn           []interface{} `json:"extensions_warn"`
	GoogleSafesearch         string        `json:"google_safesearch"`
	Googleappdomains         []interface{} `json:"googleappdomains"`
	GoogleappdomainsEnabled  bool          `json:"googleappdomains_enabled"`
	LogAccess                bool          `json:"log_access"`
	LogBlocked               bool          `json:"log_blocked"`
	MaxDownloadSize          int64         `json:"max_download_size"`
	MaxFilesize              int64         `json:"max_filesize"`
	Mode                     string        `json:"mode"`
	Name                     string        `json:"name"`
	ParentProxies            []interface{} `json:"parent_proxies"`
	Pua                      bool          `json:"pua"`
	QuotaTags                []interface{} `json:"quota_tags"`
	QuotaTime                int64         `json:"quota_time"`
	Sandbox                  bool          `json:"sandbox"`
	ScriptRemoval            bool          `json:"script_removal"`
	SpCategories             []interface{} `json:"sp_categories"`
	SpCategoriesQuota        []interface{} `json:"sp_categories_quota"`
	SpCategoriesWarn         []interface{} `json:"sp_categories_warn"`
	SpMinreputation          string        `json:"sp_minreputation"`
	Spyware                  bool          `json:"spyware"`
	UncategorizedWebsites    string        `json:"uncategorized_websites"`
	URLBlacklist             []interface{} `json:"url_blacklist"`
	URLWhitelist             []interface{} `json:"url_whitelist"`
	WarnTags                 []interface{} `json:"warn_tags"`
	YahooSafesearch          string        `json:"yahoo_safesearch"`
}

HttpCffAction is a generated Sophos object

func (*HttpCffAction) DeletePath

func (*HttpCffAction) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpCffAction DELETE path Creates or updates the complete object cff_action

func (*HttpCffAction) GetPath

func (h *HttpCffAction) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffActions GET path Returns all available cff_action types

func (*HttpCffAction) GetType

func (h *HttpCffAction) GetType() string

GetType implements sophos.Object

func (*HttpCffAction) PatchPath

func (*HttpCffAction) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpCffAction PATCH path Changes to parts of the object cff_action types

func (*HttpCffAction) PostPath

func (*HttpCffAction) PostPath() string

PostPath implements sophos.RestObject and returns the HttpCffAction POST path Create a new http/cff_action object

func (*HttpCffAction) PutPath

func (*HttpCffAction) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpCffAction PUT path Creates or updates the complete object cff_action

func (*HttpCffAction) RefRequired

func (h *HttpCffAction) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpCffAction) UsedByPath

func (*HttpCffAction) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpCffActions

type HttpCffActions []HttpCffAction

HttpCffActions is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpCffActions) GetPath

func (*HttpCffActions) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffActions GET path Returns all available http/cff_action objects

func (*HttpCffActions) RefRequired

func (*HttpCffActions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpCffProfile

type HttpCffProfile struct {
	Locked         string   `json:"_locked"`
	Reference      string   `json:"_ref"`
	ObjectType     string   `json:"_type"`
	Aaa            []string `json:"aaa"`
	Action         string   `json:"action"`
	CffProfileName string   `json:"cff_profile_name"`
	Comment        string   `json:"comment"`
	InProgress     string   `json:"in_progress"`
	Name           string   `json:"name"`
	SkipAuth       bool     `json:"skip_auth"`
	TimeEvent      string   `json:"time_event"`
}

HttpCffProfile is a generated Sophos object

func (*HttpCffProfile) DeletePath

func (*HttpCffProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpCffProfile DELETE path Creates or updates the complete object cff_profile

func (*HttpCffProfile) GetPath

func (h *HttpCffProfile) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffProfiles GET path Returns all available cff_profile types

func (*HttpCffProfile) GetType

func (h *HttpCffProfile) GetType() string

GetType implements sophos.Object

func (*HttpCffProfile) PatchPath

func (*HttpCffProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpCffProfile PATCH path Changes to parts of the object cff_profile types

func (*HttpCffProfile) PostPath

func (*HttpCffProfile) PostPath() string

PostPath implements sophos.RestObject and returns the HttpCffProfile POST path Create a new http/cff_profile object

func (*HttpCffProfile) PutPath

func (*HttpCffProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpCffProfile PUT path Creates or updates the complete object cff_profile

func (*HttpCffProfile) RefRequired

func (h *HttpCffProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpCffProfile) UsedByPath

func (*HttpCffProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpCffProfiles

type HttpCffProfiles []HttpCffProfile

HttpCffProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpCffProfiles) GetPath

func (*HttpCffProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffProfiles GET path Returns all available http/cff_profile objects

func (*HttpCffProfiles) RefRequired

func (*HttpCffProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpDeviceAuth

type HttpDeviceAuth struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// AuthMode can be one of: []string{"none", "aua", "edir_sso", "ntlm", "opendirectory_auth", "browser", "agent"}
	AuthMode string `json:"auth_mode"`
	Comment  string `json:"comment"`
	// DeviceType can be one of: []string{"Windows", "Mac OS X", "Linux", "iOS", "Android", "Kindle", "Blackberry"}
	DeviceType string `json:"device_type"`
	Name       string `json:"name"`
}

HttpDeviceAuth represents a UTM device-specific authentication

func (*HttpDeviceAuth) DeletePath

func (*HttpDeviceAuth) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpDeviceAuth DELETE path Creates or updates the complete object device_auth

func (*HttpDeviceAuth) GetPath

func (h *HttpDeviceAuth) GetPath() string

GetPath implements sophos.RestObject and returns the HttpDeviceAuths GET path Returns all available device_auth types

func (*HttpDeviceAuth) PatchPath

func (*HttpDeviceAuth) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpDeviceAuth PATCH path Changes to parts of the object device_auth types

func (*HttpDeviceAuth) PostPath

func (*HttpDeviceAuth) PostPath() string

PostPath implements sophos.RestObject and returns the HttpDeviceAuth POST path Create a new http/device_auth object

func (*HttpDeviceAuth) PutPath

func (*HttpDeviceAuth) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpDeviceAuth PUT path Creates or updates the complete object device_auth

func (*HttpDeviceAuth) RefRequired

func (h *HttpDeviceAuth) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpDeviceAuth) UsedByPath

func (*HttpDeviceAuth) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpDeviceAuths added in v0.1.1

type HttpDeviceAuths []HttpDeviceAuth

HttpDeviceAuths is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpDeviceAuths) GetPath added in v0.1.1

func (*HttpDeviceAuths) GetPath() string

GetPath implements sophos.RestObject and returns the HttpDeviceAuths GET path Returns all available http/device_auth objects

func (*HttpDeviceAuths) RefRequired added in v0.1.1

func (*HttpDeviceAuths) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpDomainRegex

type HttpDomainRegex struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Comment    string        `json:"comment"`
	Domain     []interface{} `json:"domain"`
	// IncludeSubdomains default value is false
	IncludeSubdomains bool `json:"include_subdomains"`
	// Mode can be one of: []string{"Domain", "Regex"}
	Mode    string        `json:"mode"`
	Name    string        `json:"name"`
	Regexps []interface{} `json:"regexps"`
	// RestrictRegex default value is false
	RestrictRegex bool `json:"restrict_regex"`
}

HttpDomainRegex represents a UTM whitelist/blacklist

func (*HttpDomainRegex) DeletePath

func (*HttpDomainRegex) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpDomainRegex DELETE path Creates or updates the complete object domain_regex

func (*HttpDomainRegex) GetPath

func (h *HttpDomainRegex) GetPath() string

GetPath implements sophos.RestObject and returns the HttpDomainRegexs GET path Returns all available domain_regex types

func (*HttpDomainRegex) PatchPath

func (*HttpDomainRegex) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpDomainRegex PATCH path Changes to parts of the object domain_regex types

func (*HttpDomainRegex) PostPath

func (*HttpDomainRegex) PostPath() string

PostPath implements sophos.RestObject and returns the HttpDomainRegex POST path Create a new http/domain_regex object

func (*HttpDomainRegex) PutPath

func (*HttpDomainRegex) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpDomainRegex PUT path Creates or updates the complete object domain_regex

func (*HttpDomainRegex) RefRequired

func (h *HttpDomainRegex) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpDomainRegex) UsedByPath

func (*HttpDomainRegex) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpDomainRegexs added in v0.1.1

type HttpDomainRegexs []HttpDomainRegex

HttpDomainRegexs is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpDomainRegexs) GetPath added in v0.1.1

func (*HttpDomainRegexs) GetPath() string

GetPath implements sophos.RestObject and returns the HttpDomainRegexs GET path Returns all available http/domain_regex objects

func (*HttpDomainRegexs) RefRequired added in v0.1.1

func (*HttpDomainRegexs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpException

type HttpException struct {
	Locked          string        `json:"_locked"`
	Reference       string        `json:"_ref"`
	ObjectType      string        `json:"_type"`
	Aaa             []interface{} `json:"aaa"`
	Comment         string        `json:"comment"`
	Domains         []string      `json:"domains"`
	EndpointsGroups []interface{} `json:"endpoints_groups"`
	Name            string        `json:"name"`
	Networks        []interface{} `json:"networks"`
	Operator        string        `json:"operator"`
	Skiplist        []string      `json:"skiplist"`
	SpCategories    []interface{} `json:"sp_categories"`
	Status          bool          `json:"status"`
	Tags            []interface{} `json:"tags"`
	UserAgents      []interface{} `json:"user_agents"`
}

HttpException is a generated Sophos object

func (*HttpException) DeletePath

func (*HttpException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpException DELETE path Creates or updates the complete object exception

func (*HttpException) GetPath

func (h *HttpException) GetPath() string

GetPath implements sophos.RestObject and returns the HttpExceptions GET path Returns all available exception types

func (*HttpException) GetType

func (h *HttpException) GetType() string

GetType implements sophos.Object

func (*HttpException) PatchPath

func (*HttpException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpException PATCH path Changes to parts of the object exception types

func (*HttpException) PostPath

func (*HttpException) PostPath() string

PostPath implements sophos.RestObject and returns the HttpException POST path Create a new http/exception object

func (*HttpException) PutPath

func (*HttpException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpException PUT path Creates or updates the complete object exception

func (*HttpException) RefRequired

func (h *HttpException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpException) UsedByPath

func (*HttpException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpExceptions

type HttpExceptions []HttpException

HttpExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpExceptions) GetPath

func (*HttpExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the HttpExceptions GET path Returns all available http/exception objects

func (*HttpExceptions) RefRequired

func (*HttpExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpGroup

type HttpGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

HttpGroup represents a UTM group

func (*HttpGroup) DeletePath

func (*HttpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpGroup DELETE path Creates or updates the complete object group

func (*HttpGroup) GetPath

func (h *HttpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the HttpGroups GET path Returns all available group types

func (*HttpGroup) PatchPath

func (*HttpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpGroup PATCH path Changes to parts of the object group types

func (*HttpGroup) PostPath

func (*HttpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the HttpGroup POST path Create a new http/group object

func (*HttpGroup) PutPath

func (*HttpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpGroup PUT path Creates or updates the complete object group

func (*HttpGroup) RefRequired

func (h *HttpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpGroup) UsedByPath

func (*HttpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpGroups added in v0.1.1

type HttpGroups []HttpGroup

HttpGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpGroups) GetPath added in v0.1.1

func (*HttpGroups) GetPath() string

GetPath implements sophos.RestObject and returns the HttpGroups GET path Returns all available http/group objects

func (*HttpGroups) RefRequired added in v0.1.1

func (*HttpGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpLocalSite

type HttpLocalSite struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// IncludeSubdomains default value is false
	IncludeSubdomains bool   `json:"include_subdomains"`
	Name              string `json:"name"`
	// Reputation can be one of: []string{"off", "malicious", "suspicious", "unverified", "neutral", "trusted"}
	// Reputation default value is "off"
	Reputation string        `json:"reputation"`
	Site       string        `json:"site"`
	Tags       []interface{} `json:"tags"`
	// Category description: REF(http/sp_subcat)
	// Category default value is ""
	Category string `json:"category"`
}

HttpLocalSite represents a UTM local site list entry

func (*HttpLocalSite) DeletePath

func (*HttpLocalSite) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpLocalSite DELETE path Creates or updates the complete object local_site

func (*HttpLocalSite) GetPath

func (h *HttpLocalSite) GetPath() string

GetPath implements sophos.RestObject and returns the HttpLocalSites GET path Returns all available local_site types

func (*HttpLocalSite) PatchPath

func (*HttpLocalSite) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpLocalSite PATCH path Changes to parts of the object local_site types

func (*HttpLocalSite) PostPath

func (*HttpLocalSite) PostPath() string

PostPath implements sophos.RestObject and returns the HttpLocalSite POST path Create a new http/local_site object

func (*HttpLocalSite) PutPath

func (*HttpLocalSite) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpLocalSite PUT path Creates or updates the complete object local_site

func (*HttpLocalSite) RefRequired

func (h *HttpLocalSite) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpLocalSite) UsedByPath

func (*HttpLocalSite) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpLocalSites added in v0.1.1

type HttpLocalSites []HttpLocalSite

HttpLocalSites is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpLocalSites) GetPath added in v0.1.1

func (*HttpLocalSites) GetPath() string

GetPath implements sophos.RestObject and returns the HttpLocalSites GET path Returns all available http/local_site objects

func (*HttpLocalSites) RefRequired added in v0.1.1

func (*HttpLocalSites) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpLslTag

type HttpLslTag struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

HttpLslTag represents a UTM tags

func (*HttpLslTag) DeletePath

func (*HttpLslTag) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpLslTag DELETE path Creates or updates the complete object lsl_tag

func (*HttpLslTag) GetPath

func (h *HttpLslTag) GetPath() string

GetPath implements sophos.RestObject and returns the HttpLslTags GET path Returns all available lsl_tag types

func (*HttpLslTag) PatchPath

func (*HttpLslTag) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpLslTag PATCH path Changes to parts of the object lsl_tag types

func (*HttpLslTag) PostPath

func (*HttpLslTag) PostPath() string

PostPath implements sophos.RestObject and returns the HttpLslTag POST path Create a new http/lsl_tag object

func (*HttpLslTag) PutPath

func (*HttpLslTag) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpLslTag PUT path Creates or updates the complete object lsl_tag

func (*HttpLslTag) RefRequired

func (h *HttpLslTag) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpLslTag) UsedByPath

func (*HttpLslTag) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpLslTags added in v0.1.1

type HttpLslTags []HttpLslTag

HttpLslTags is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpLslTags) GetPath added in v0.1.1

func (*HttpLslTags) GetPath() string

GetPath implements sophos.RestObject and returns the HttpLslTags GET path Returns all available http/lsl_tag objects

func (*HttpLslTags) RefRequired added in v0.1.1

func (*HttpLslTags) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpPacFile

type HttpPacFile struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Content    string `json:"content"`
	Name       string `json:"name"`
	Status     bool   `json:"status"`
}

HttpPacFile is a generated Sophos object

func (*HttpPacFile) DeletePath

func (*HttpPacFile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpPacFile DELETE path Creates or updates the complete object pac_file

func (*HttpPacFile) GetPath

func (h *HttpPacFile) GetPath() string

GetPath implements sophos.RestObject and returns the HttpPacFiles GET path Returns all available pac_file types

func (*HttpPacFile) GetType

func (h *HttpPacFile) GetType() string

GetType implements sophos.Object

func (*HttpPacFile) PatchPath

func (*HttpPacFile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpPacFile PATCH path Changes to parts of the object pac_file types

func (*HttpPacFile) PostPath

func (*HttpPacFile) PostPath() string

PostPath implements sophos.RestObject and returns the HttpPacFile POST path Create a new http/pac_file object

func (*HttpPacFile) PutPath

func (*HttpPacFile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpPacFile PUT path Creates or updates the complete object pac_file

func (*HttpPacFile) RefRequired

func (h *HttpPacFile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpPacFile) UsedByPath

func (*HttpPacFile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpPacFiles

type HttpPacFiles []HttpPacFile

HttpPacFiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpPacFiles) GetPath

func (*HttpPacFiles) GetPath() string

GetPath implements sophos.RestObject and returns the HttpPacFiles GET path Returns all available http/pac_file objects

func (*HttpPacFiles) RefRequired

func (*HttpPacFiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpParentProxy

type HttpParentProxy struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Target description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Target  string        `json:"target"`
	User    string        `json:"user"`
	Comment string        `json:"comment"`
	Match   []interface{} `json:"match"`
	Name    string        `json:"name"`
	Pass    string        `json:"pass"`
	Port    int           `json:"port"`
}

HttpParentProxy represents a UTM parent web proxy

func (*HttpParentProxy) DeletePath

func (*HttpParentProxy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpParentProxy DELETE path Creates or updates the complete object parent_proxy

func (*HttpParentProxy) GetPath

func (h *HttpParentProxy) GetPath() string

GetPath implements sophos.RestObject and returns the HttpParentProxys GET path Returns all available parent_proxy types

func (*HttpParentProxy) PatchPath

func (*HttpParentProxy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpParentProxy PATCH path Changes to parts of the object parent_proxy types

func (*HttpParentProxy) PostPath

func (*HttpParentProxy) PostPath() string

PostPath implements sophos.RestObject and returns the HttpParentProxy POST path Create a new http/parent_proxy object

func (*HttpParentProxy) PutPath

func (*HttpParentProxy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpParentProxy PUT path Creates or updates the complete object parent_proxy

func (*HttpParentProxy) RefRequired

func (h *HttpParentProxy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpParentProxy) UsedByPath

func (*HttpParentProxy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpParentProxys added in v0.1.1

type HttpParentProxys []HttpParentProxy

HttpParentProxys is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpParentProxys) GetPath added in v0.1.1

func (*HttpParentProxys) GetPath() string

GetPath implements sophos.RestObject and returns the HttpParentProxys GET path Returns all available http/parent_proxy objects

func (*HttpParentProxys) RefRequired added in v0.1.1

func (*HttpParentProxys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpProfile

type HttpProfile struct {
	Locked             string        `json:"_locked"`
	Reference          string        `json:"_ref"`
	ObjectType         string        `json:"_type"`
	Aua                bool          `json:"aua"`
	BlockOnAuthFailed  bool          `json:"block_on_auth_failed"`
	CffProfiles        []string      `json:"cff_profiles"`
	Comment            string        `json:"comment"`
	DefaultCffAction   string        `json:"default_cff_action"`
	DeviceAuth         []interface{} `json:"device_auth"`
	EdirSso            bool          `json:"edir_sso"`
	EnableDeviceAuth   bool          `json:"enable_device_auth"`
	EndpointsGroups    []interface{} `json:"endpoints_groups"`
	FullTransparent    bool          `json:"full_transparent"`
	InProgress         bool          `json:"in_progress"`
	Name               string        `json:"name"`
	Networks           []interface{} `json:"networks"`
	Ntlm               bool          `json:"ntlm"`
	OpendirectoryAuth  bool          `json:"opendirectory_auth"`
	OrderedCffProfiles []string      `json:"ordered_cff_profiles"`
	OutInterface       string        `json:"out_interface"`
	ScanSslOpt         string        `json:"scan_ssl_opt"`
	SelectiveScanCat   []string      `json:"selective_scan_cat"`
	SelectiveScanTags  []interface{} `json:"selective_scan_tags"`
	Status             bool          `json:"status"`
	Transparent        bool          `json:"transparent"`
	TransparentAac     bool          `json:"transparent_aac"`
	TransparentAuth    bool          `json:"transparent_auth"`
}

HttpProfile is a generated Sophos object

func (*HttpProfile) DeletePath

func (*HttpProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpProfile DELETE path Creates or updates the complete object profile

func (*HttpProfile) GetPath

func (h *HttpProfile) GetPath() string

GetPath implements sophos.RestObject and returns the HttpProfiles GET path Returns all available profile types

func (*HttpProfile) GetType

func (h *HttpProfile) GetType() string

GetType implements sophos.Object

func (*HttpProfile) PatchPath

func (*HttpProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpProfile PATCH path Changes to parts of the object profile types

func (*HttpProfile) PostPath

func (*HttpProfile) PostPath() string

PostPath implements sophos.RestObject and returns the HttpProfile POST path Create a new http/profile object

func (*HttpProfile) PutPath

func (*HttpProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpProfile PUT path Creates or updates the complete object profile

func (*HttpProfile) RefRequired

func (h *HttpProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpProfile) UsedByPath

func (*HttpProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpProfiles

type HttpProfiles []HttpProfile

HttpProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpProfiles) GetPath

func (*HttpProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the HttpProfiles GET path Returns all available http/profile objects

func (*HttpProfiles) RefRequired

func (*HttpProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpSpCategory

type HttpSpCategory struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	ID         string   `json:"id"`
	Name       string   `json:"name"`
	Subcats    []string `json:"subcats"`
}

HttpSpCategory is a generated Sophos object

func (*HttpSpCategory) DeletePath

func (*HttpSpCategory) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpSpCategory DELETE path Creates or updates the complete object sp_category

func (*HttpSpCategory) GetPath

func (h *HttpSpCategory) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpCategorys GET path Returns all available sp_category types

func (*HttpSpCategory) GetType

func (h *HttpSpCategory) GetType() string

GetType implements sophos.Object

func (*HttpSpCategory) PatchPath

func (*HttpSpCategory) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpSpCategory PATCH path Changes to parts of the object sp_category types

func (*HttpSpCategory) PostPath

func (*HttpSpCategory) PostPath() string

PostPath implements sophos.RestObject and returns the HttpSpCategory POST path Create a new http/sp_category object

func (*HttpSpCategory) PutPath

func (*HttpSpCategory) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpSpCategory PUT path Creates or updates the complete object sp_category

func (*HttpSpCategory) RefRequired

func (h *HttpSpCategory) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpSpCategory) UsedByPath

func (*HttpSpCategory) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpSpCategorys

type HttpSpCategorys []HttpSpCategory

HttpSpCategorys is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpSpCategorys) GetPath

func (*HttpSpCategorys) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpCategorys GET path Returns all available http/sp_category objects

func (*HttpSpCategorys) RefRequired

func (*HttpSpCategorys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpSpSubcat

type HttpSpSubcat struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	ID         string `json:"id"`
	Name       string `json:"name"`
}

HttpSpSubcat is a generated Sophos object

func (*HttpSpSubcat) DeletePath

func (*HttpSpSubcat) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpSpSubcat DELETE path Creates or updates the complete object sp_subcat

func (*HttpSpSubcat) GetPath

func (h *HttpSpSubcat) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpSubcats GET path Returns all available sp_subcat types

func (*HttpSpSubcat) GetType

func (h *HttpSpSubcat) GetType() string

GetType implements sophos.Object

func (*HttpSpSubcat) PatchPath

func (*HttpSpSubcat) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpSpSubcat PATCH path Changes to parts of the object sp_subcat types

func (*HttpSpSubcat) PostPath

func (*HttpSpSubcat) PostPath() string

PostPath implements sophos.RestObject and returns the HttpSpSubcat POST path Create a new http/sp_subcat object

func (*HttpSpSubcat) PutPath

func (*HttpSpSubcat) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpSpSubcat PUT path Creates or updates the complete object sp_subcat

func (*HttpSpSubcat) RefRequired

func (h *HttpSpSubcat) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpSpSubcat) UsedByPath

func (*HttpSpSubcat) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpSpSubcats

type HttpSpSubcats []HttpSpSubcat

HttpSpSubcats is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpSpSubcats) GetPath

func (*HttpSpSubcats) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpSubcats GET path Returns all available http/sp_subcat objects

func (*HttpSpSubcats) RefRequired

func (*HttpSpSubcats) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Interface

type Interface struct {
	InterfaceBridge   InterfaceBridge   `json:"interface_bridge"`
	InterfaceEthernet InterfaceEthernet `json:"interface_ethernet"`
	InterfaceGroup    InterfaceGroup    `json:"interface_group"`
	InterfacePpp3G    InterfacePpp3G    `json:"interface_ppp3g"`
	InterfacePppmodem InterfacePppmodem `json:"interface_pppmodem"`
	InterfacePppoa    InterfacePppoa    `json:"interface_pppoa"`
	InterfacePppoe    InterfacePppoe    `json:"interface_pppoe"`
	InterfaceTunnel   InterfaceTunnel   `json:"interface_tunnel"`
	InterfaceVlan     InterfaceVlan     `json:"interface_vlan"`
}

Interface is a generated struct representing the Sophos Interface Endpoint GET /api/nodes/interface

func (Interface) ApiRoutes

func (Interface) ApiRoutes() []string

ApiRoutes returns all known Interface Paths

func (Interface) Definition

func (Interface) Definition() sophos.Definition

Definition returns the /api/definitions struct of Interface

func (*Interface) GetPath

func (*Interface) GetPath() string

GetPath implements sophos.RestGetter

func (*Interface) RefRequired

func (*Interface) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Interface) References

func (Interface) References() []string

References returns the Interface's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Interface) RestObjects

func (Interface) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Interface's Objects

type InterfaceBridge

type InterfaceBridge struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// UseDhcp default value is false
	UseDhcp bool `json:"use_dhcp"`
	// UseDhcpv6 default value is false
	UseDhcpv6 bool `json:"use_dhcpv6"`
	// ArpBcast default value is false
	ArpBcast bool `json:"arp_bcast"`
	// Itfhw description: REF(itfhw/bridge)
	Itfhw string `json:"itfhw"`
	Name  string `json:"name"`
	// Proxyndp default value is false
	Proxyndp bool `json:"proxyndp"`
	Mtu      int  `json:"mtu"`
	// Proxyarp default value is false
	Proxyarp bool `json:"proxyarp"`
	// Status default value is false
	Status              bool          `json:"status"`
	StpHello            int           `json:"stp_hello"`
	AdditionalAddresses []interface{} `json:"additional_addresses"`
	Ageing              int           `json:"ageing"`
	ForwardedEthertypes []interface{} `json:"forwarded_ethertypes"`
	// Link default value is true
	Link bool `json:"link"`
	// VirtualMac description: (MACADDR)
	// VirtualMac default value is "00:00:00:00:00:00"
	VirtualMac string `json:"virtual_mac"`
	// MtuAutoDiscovery default value is false
	MtuAutoDiscovery bool          `json:"mtu_auto_discovery"`
	Ports            []interface{} `json:"ports"`
	StpMaxage        int           `json:"stp_maxage"`
	// StpStatus default value is false
	StpStatus bool   `json:"stp_status"`
	StpPrio   int    `json:"stp_prio"`
	Comment   string `json:"comment"`
	// ConvertedFromHw description: REF(itfhw/*)
	// ConvertedFromHw default value is ""
	ConvertedFromHw string `json:"converted_from_hw"`
	// PrimaryAddress description: REF(itfparams/primary)
	// PrimaryAddress default value is ""
	PrimaryAddress string `json:"primary_address"`
	StpFd          int    `json:"stp_fd"`
}

InterfaceBridge represents a UTM bridge

func (*InterfaceBridge) DeletePath

func (*InterfaceBridge) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceBridge DELETE path Creates or updates the complete object bridge

func (*InterfaceBridge) GetPath

func (i *InterfaceBridge) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceBridges GET path Returns all available bridge types

func (*InterfaceBridge) PatchPath

func (*InterfaceBridge) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceBridge PATCH path Changes to parts of the object bridge types

func (*InterfaceBridge) PostPath

func (*InterfaceBridge) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceBridge POST path Create a new interface/bridge object

func (*InterfaceBridge) PutPath

func (*InterfaceBridge) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceBridge PUT path Creates or updates the complete object bridge

func (*InterfaceBridge) RefRequired

func (i *InterfaceBridge) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceBridge) UsedByPath

func (*InterfaceBridge) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceBridges added in v0.1.1

type InterfaceBridges []InterfaceBridge

InterfaceBridges is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceBridges) GetPath added in v0.1.1

func (*InterfaceBridges) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceBridges GET path Returns all available interface/bridge objects

func (*InterfaceBridges) RefRequired added in v0.1.1

func (*InterfaceBridges) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfaceEthernet

type InterfaceEthernet struct {
	Locked              string        `json:"_locked"`
	Reference           string        `json:"_ref"`
	ObjectType          string        `json:"_type"`
	AdditionalAddresses []interface{} `json:"additional_addresses"`
	Bandwidth           int64         `json:"bandwidth"`
	Comment             string        `json:"comment"`
	Inbandwidth         int64         `json:"inbandwidth"`
	Itfhw               string        `json:"itfhw"`
	Link                bool          `json:"link"`
	Mtu                 int64         `json:"mtu"`
	MtuAutoDiscovery    bool          `json:"mtu_auto_discovery"`
	Name                string        `json:"name"`
	Outbandwidth        int64         `json:"outbandwidth"`
	PrimaryAddress      string        `json:"primary_address"`
	Proxyarp            bool          `json:"proxyarp"`
	Proxyndp            bool          `json:"proxyndp"`
	Status              bool          `json:"status"`
}

InterfaceEthernet is a generated Sophos object

func (*InterfaceEthernet) DeletePath

func (*InterfaceEthernet) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceEthernet DELETE path Creates or updates the complete object ethernet

func (*InterfaceEthernet) GetPath

func (i *InterfaceEthernet) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceEthernets GET path Returns all available ethernet types

func (*InterfaceEthernet) GetType

func (i *InterfaceEthernet) GetType() string

GetType implements sophos.Object

func (*InterfaceEthernet) PatchPath

func (*InterfaceEthernet) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceEthernet PATCH path Changes to parts of the object ethernet types

func (*InterfaceEthernet) PostPath

func (*InterfaceEthernet) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceEthernet POST path Create a new interface/ethernet object

func (*InterfaceEthernet) PutPath

func (*InterfaceEthernet) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceEthernet PUT path Creates or updates the complete object ethernet

func (*InterfaceEthernet) RefRequired

func (i *InterfaceEthernet) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceEthernet) UsedByPath

func (*InterfaceEthernet) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceEthernets

type InterfaceEthernets []InterfaceEthernet

InterfaceEthernets is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceEthernets) GetPath

func (*InterfaceEthernets) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceEthernets GET path Returns all available interface/ethernet objects

func (*InterfaceEthernets) RefRequired

func (*InterfaceEthernets) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfaceGroup

type InterfaceGroup struct {
	Locked           string        `json:"_locked"`
	Reference        string        `json:"_ref"`
	ObjectType       string        `json:"_type"`
	Comment          string        `json:"comment"`
	Link             bool          `json:"link"`
	Members          []interface{} `json:"members"`
	Name             string        `json:"name"`
	PrimaryAddresses string        `json:"primary_addresses"`
}

InterfaceGroup is a generated Sophos object

func (*InterfaceGroup) DeletePath

func (*InterfaceGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceGroup DELETE path Creates or updates the complete object group

func (*InterfaceGroup) GetPath

func (i *InterfaceGroup) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceGroups GET path Returns all available group types

func (*InterfaceGroup) GetType

func (i *InterfaceGroup) GetType() string

GetType implements sophos.Object

func (*InterfaceGroup) PatchPath

func (*InterfaceGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceGroup PATCH path Changes to parts of the object group types

func (*InterfaceGroup) PostPath

func (*InterfaceGroup) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceGroup POST path Create a new interface/group object

func (*InterfaceGroup) PutPath

func (*InterfaceGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceGroup PUT path Creates or updates the complete object group

func (*InterfaceGroup) RefRequired

func (i *InterfaceGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceGroup) UsedByPath

func (*InterfaceGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceGroups

type InterfaceGroups []InterfaceGroup

InterfaceGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceGroups) GetPath

func (*InterfaceGroups) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceGroups GET path Returns all available interface/group objects

func (*InterfaceGroups) RefRequired

func (*InterfaceGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfacePpp3G

type InterfacePpp3G struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Pin default value is ""
	Pin string `json:"pin"`
	// ApnAuto default value is true
	ApnAuto bool   `json:"apn_auto"`
	Comment string `json:"comment"`
	// Custom default value is ""
	Custom string `json:"custom"`
	// MobileNetwork can be one of: []string{"gsm", "cdma", "lte"}
	// MobileNetwork default value is "gsm"
	MobileNetwork string `json:"mobile_network"`
	// Multilink default value is false
	Multilink    bool   `json:"multilink"`
	Outbandwidth int    `json:"outbandwidth"`
	Mtu          int    `json:"mtu"`
	Name         string `json:"name"`
	// MtuAutoDiscovery default value is false
	MtuAutoDiscovery bool `json:"mtu_auto_discovery"`
	// PrimaryAddress description: REF(itfparams/primary)
	// PrimaryAddress default value is ""
	PrimaryAddress string `json:"primary_address"`
	// DialString default value is "*99#"
	DialString string `json:"dial_string"`
	// IdleTime default value is ""
	IdleTime    string `json:"idle_time"`
	Inbandwidth int    `json:"inbandwidth"`
	// InitString default value is "ATZ"
	InitString string `json:"init_string"`
	// Itfhw description: REF(itfhw/usbserial)
	Itfhw string `json:"itfhw"`
	// Link default value is true
	Link   bool `json:"link"`
	Signal int  `json:"signal"`
	// VirtualDevice description: (REGEX)
	// VirtualDevice default value is ""
	VirtualDevice string `json:"virtual_device"`
	// Apn default value is "unknown"
	Apn       string `json:"apn"`
	Bandwidth int    `json:"bandwidth"`
	// Password default value is ""
	Password string `json:"password"`
	// ResetString default value is "ATZ"
	ResetString string `json:"reset_string"`
	// Status default value is false
	Status   bool   `json:"status"`
	Username string `json:"username"`
}

InterfacePpp3G represents a UTM ppp3g

func (*InterfacePpp3G) DeletePath

func (*InterfacePpp3G) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePpp3G DELETE path Creates or updates the complete object ppp3g

func (*InterfacePpp3G) GetPath

func (i *InterfacePpp3G) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePpp3Gs GET path Returns all available ppp3g types

func (*InterfacePpp3G) PatchPath

func (*InterfacePpp3G) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePpp3G PATCH path Changes to parts of the object ppp3g types

func (*InterfacePpp3G) PostPath

func (*InterfacePpp3G) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePpp3G POST path Create a new interface/ppp3g object

func (*InterfacePpp3G) PutPath

func (*InterfacePpp3G) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePpp3G PUT path Creates or updates the complete object ppp3g

func (*InterfacePpp3G) RefRequired

func (i *InterfacePpp3G) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePpp3G) UsedByPath

func (*InterfacePpp3G) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePpp3Gs added in v0.1.1

type InterfacePpp3Gs []InterfacePpp3G

InterfacePpp3Gs is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePpp3Gs) GetPath added in v0.1.1

func (*InterfacePpp3Gs) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePpp3Gs GET path Returns all available interface/ppp3g objects

func (*InterfacePpp3Gs) RefRequired added in v0.1.1

func (*InterfacePpp3Gs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfacePppmodem

type InterfacePppmodem struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// ResetString default value is "ATZ"
	ResetString string `json:"reset_string"`
	// Status default value is false
	Status  bool   `json:"status"`
	Comment string `json:"comment"`
	// DialString default value is ""
	DialString string `json:"dial_string"`
	// FlowControl can be one of: []string{"hardware", "software"}
	// FlowControl default value is "hardware"
	FlowControl string `json:"flow_control"`
	// IdleTime default value is ""
	IdleTime string `json:"idle_time"`
	// Itfhw description: REF(itfhw/serial)
	Itfhw string `json:"itfhw"`
	// Multilink default value is false
	Multilink bool `json:"multilink"`
	// PrimaryAddress description: REF(itfparams/primary)
	// PrimaryAddress default value is ""
	PrimaryAddress string `json:"primary_address"`
	Username       string `json:"username"`
	Bandwidth      int    `json:"bandwidth"`
	// Custom default value is ""
	Custom string `json:"custom"`
	// LineSpeed can be one of: []string{"9600", "14400", "19200", "26400", "31200", "38400", "57600", "115200", "230400"}
	// LineSpeed default value is "115200"
	LineSpeed string `json:"line_speed"`
	Mtu       int    `json:"mtu"`
	// MtuAutoDiscovery default value is false
	MtuAutoDiscovery bool `json:"mtu_auto_discovery"`
	// Password default value is ""
	Password string `json:"password"`
	// Link default value is true
	Link         bool   `json:"link"`
	Name         string `json:"name"`
	Outbandwidth int    `json:"outbandwidth"`
	// VirtualDevice description: (REGEX)
	// VirtualDevice default value is ""
	VirtualDevice string `json:"virtual_device"`
	Inbandwidth   int    `json:"inbandwidth"`
	// InitString default value is "ATZ"
	InitString string `json:"init_string"`
}

InterfacePppmodem represents a UTM PPP modem interface

func (*InterfacePppmodem) DeletePath

func (*InterfacePppmodem) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePppmodem DELETE path Creates or updates the complete object pppmodem

func (*InterfacePppmodem) GetPath

func (i *InterfacePppmodem) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppmodems GET path Returns all available pppmodem types

func (*InterfacePppmodem) PatchPath

func (*InterfacePppmodem) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePppmodem PATCH path Changes to parts of the object pppmodem types

func (*InterfacePppmodem) PostPath

func (*InterfacePppmodem) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePppmodem POST path Create a new interface/pppmodem object

func (*InterfacePppmodem) PutPath

func (*InterfacePppmodem) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePppmodem PUT path Creates or updates the complete object pppmodem

func (*InterfacePppmodem) RefRequired

func (i *InterfacePppmodem) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePppmodem) UsedByPath

func (*InterfacePppmodem) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePppmodems added in v0.1.1

type InterfacePppmodems []InterfacePppmodem

InterfacePppmodems is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePppmodems) GetPath added in v0.1.1

func (*InterfacePppmodems) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppmodems GET path Returns all available interface/pppmodem objects

func (*InterfacePppmodems) RefRequired added in v0.1.1

func (*InterfacePppmodems) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfacePppoa

type InterfacePppoa struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// MtuAutoDiscovery default value is false
	MtuAutoDiscovery bool `json:"mtu_auto_discovery"`
	// Password default value is ""
	Password string `json:"password"`
	// PingAddress description: (IPADDR)
	// PingAddress default value is ""
	PingAddress string `json:"ping_address"`
	// VirtualDevice description: (REGEX)
	// VirtualDevice default value is ""
	VirtualDevice string `json:"virtual_device"`
	Bandwidth     int    `json:"bandwidth"`
	Mtu           int    `json:"mtu"`
	Outbandwidth  int    `json:"outbandwidth"`
	// Status default value is false
	Status   bool   `json:"status"`
	Username string `json:"username"`
	// Custom default value is ""
	Custom string `json:"custom"`
	// Link default value is true
	Link bool `json:"link"`
	// ModemAddress description: (IPADDR)
	ModemAddress     string `json:"modem_address"`
	Name             string `json:"name"`
	ReconnectTimeout int    `json:"reconnect_timeout"`
	Inbandwidth      int    `json:"inbandwidth"`
	// Itfhw description: REF(itfhw/ethernet)
	Itfhw string `json:"itfhw"`
	// Multilink default value is false
	Multilink bool `json:"multilink"`
	// NicAddress description: (IPADDR)
	NicAddress string `json:"nic_address"`
	NicNetmask int    `json:"nic_netmask"`
	// PrimaryAddress description: REF(itfparams/primary)
	// PrimaryAddress default value is ""
	PrimaryAddress string `json:"primary_address"`
	// ReconnectDaily description: (TIME)
	// ReconnectDaily default value is ""
	ReconnectDaily string `json:"reconnect_daily"`
}

InterfacePppoa represents a UTM PPPoA/PPTP DSL interface

func (*InterfacePppoa) DeletePath

func (*InterfacePppoa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePppoa DELETE path Creates or updates the complete object pppoa

func (*InterfacePppoa) GetPath

func (i *InterfacePppoa) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppoas GET path Returns all available pppoa types

func (*InterfacePppoa) PatchPath

func (*InterfacePppoa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePppoa PATCH path Changes to parts of the object pppoa types

func (*InterfacePppoa) PostPath

func (*InterfacePppoa) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePppoa POST path Create a new interface/pppoa object

func (*InterfacePppoa) PutPath

func (*InterfacePppoa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePppoa PUT path Creates or updates the complete object pppoa

func (*InterfacePppoa) RefRequired

func (i *InterfacePppoa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePppoa) UsedByPath

func (*InterfacePppoa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePppoas added in v0.1.1

type InterfacePppoas []InterfacePppoa

InterfacePppoas is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePppoas) GetPath added in v0.1.1

func (*InterfacePppoas) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppoas GET path Returns all available interface/pppoa objects

func (*InterfacePppoas) RefRequired added in v0.1.1

func (*InterfacePppoas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfacePppoe

type InterfacePppoe struct {
	Locked      string `json:"_locked"`
	ObjectType  string `json:"_type"`
	Reference   string `json:"_ref"`
	Inbandwidth int    `json:"inbandwidth"`
	// MtuAutoDiscovery default value is false
	MtuAutoDiscovery bool   `json:"mtu_auto_discovery"`
	Name             string `json:"name"`
	// PrimaryAddress description: REF(itfparams/primary)
	// PrimaryAddress default value is ""
	PrimaryAddress string `json:"primary_address"`
	// VirtualDevice description: (REGEX)
	// VirtualDevice default value is ""
	VirtualDevice string `json:"virtual_device"`
	Bandwidth     int    `json:"bandwidth"`
	// Link default value is true
	Link bool `json:"link"`
	// Multilink default value is false
	Multilink        bool   `json:"multilink"`
	Username         string `json:"username"`
	Vlantag          int    `json:"vlantag"`
	ReconnectTimeout int    `json:"reconnect_timeout"`
	// Custom default value is ""
	Custom      string        `json:"custom"`
	ItfhwSlaves []interface{} `json:"itfhw_slaves"`
	// Macvlan default value is false
	Macvlan bool `json:"macvlan"`
	Mtu     int  `json:"mtu"`
	// MultilinkStatus description: (HASH)
	MultilinkStatus interface{} `json:"multilink_status"`
	Outbandwidth    int         `json:"outbandwidth"`
	// ReconnectDaily description: (TIME)
	// ReconnectDaily default value is ""
	ReconnectDaily      string        `json:"reconnect_daily"`
	AdditionalAddresses []interface{} `json:"additional_addresses"`
	Comment             string        `json:"comment"`
	// Itfhw description: REF(itfhw/ethernet)
	Itfhw string `json:"itfhw"`
	// Password default value is ""
	Password string `json:"password"`
	// Status default value is false
	Status bool `json:"status"`
}

InterfacePppoe represents a UTM PPPoE DSL interface

func (*InterfacePppoe) DeletePath

func (*InterfacePppoe) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePppoe DELETE path Creates or updates the complete object pppoe

func (*InterfacePppoe) GetPath

func (i *InterfacePppoe) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppoes GET path Returns all available pppoe types

func (*InterfacePppoe) PatchPath

func (*InterfacePppoe) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePppoe PATCH path Changes to parts of the object pppoe types

func (*InterfacePppoe) PostPath

func (*InterfacePppoe) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePppoe POST path Create a new interface/pppoe object

func (*InterfacePppoe) PutPath

func (*InterfacePppoe) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePppoe PUT path Creates or updates the complete object pppoe

func (*InterfacePppoe) RefRequired

func (i *InterfacePppoe) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePppoe) UsedByPath

func (*InterfacePppoe) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePppoes added in v0.1.1

type InterfacePppoes []InterfacePppoe

InterfacePppoes is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePppoes) GetPath added in v0.1.1

func (*InterfacePppoes) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppoes GET path Returns all available interface/pppoe objects

func (*InterfacePppoes) RefRequired added in v0.1.1

func (*InterfacePppoes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfaceTunnel

type InterfaceTunnel struct {
	Locked      string `json:"_locked"`
	ObjectType  string `json:"_type"`
	Reference   string `json:"_ref"`
	Bandwidth   int    `json:"bandwidth"`
	Comment     string `json:"comment"`
	Inbandwidth int    `json:"inbandwidth"`
	// Itfhw description: REF(itfhw/virtual)
	Itfhw string `json:"itfhw"`
	Mtu   int    `json:"mtu"`
	// Status default value is false
	Status              bool          `json:"status"`
	AdditionalAddresses []interface{} `json:"additional_addresses"`
	// Link default value is true
	Link bool `json:"link"`
	// MtuAutoDiscovery default value is false
	MtuAutoDiscovery bool   `json:"mtu_auto_discovery"`
	Name             string `json:"name"`
	Outbandwidth     int    `json:"outbandwidth"`
	// PrimaryAddress description: REF(itfparams/primary)
	// PrimaryAddress default value is ""
	PrimaryAddress string `json:"primary_address"`
}

InterfaceTunnel represents a UTM tunnel interface

func (*InterfaceTunnel) DeletePath

func (*InterfaceTunnel) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceTunnel DELETE path Creates or updates the complete object tunnel

func (*InterfaceTunnel) GetPath

func (i *InterfaceTunnel) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceTunnels GET path Returns all available tunnel types

func (*InterfaceTunnel) PatchPath

func (*InterfaceTunnel) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceTunnel PATCH path Changes to parts of the object tunnel types

func (*InterfaceTunnel) PostPath

func (*InterfaceTunnel) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceTunnel POST path Create a new interface/tunnel object

func (*InterfaceTunnel) PutPath

func (*InterfaceTunnel) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceTunnel PUT path Creates or updates the complete object tunnel

func (*InterfaceTunnel) RefRequired

func (i *InterfaceTunnel) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceTunnel) UsedByPath

func (*InterfaceTunnel) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceTunnels added in v0.1.1

type InterfaceTunnels []InterfaceTunnel

InterfaceTunnels is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceTunnels) GetPath added in v0.1.1

func (*InterfaceTunnels) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceTunnels GET path Returns all available interface/tunnel objects

func (*InterfaceTunnels) RefRequired added in v0.1.1

func (*InterfaceTunnels) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfaceVlan

type InterfaceVlan struct {
	Locked              string        `json:"_locked"`
	Reference           string        `json:"_ref"`
	ObjectType          string        `json:"_type"`
	AdditionalAddresses []interface{} `json:"additional_addresses"`
	Bandwidth           int64         `json:"bandwidth"`
	Comment             string        `json:"comment"`
	Inbandwidth         int64         `json:"inbandwidth"`
	Itfhw               string        `json:"itfhw"`
	Link                bool          `json:"link"`
	Macvlan             bool          `json:"macvlan"`
	Mtu                 int64         `json:"mtu"`
	MtuAutoDiscovery    bool          `json:"mtu_auto_discovery"`
	Name                string        `json:"name"`
	Outbandwidth        int64         `json:"outbandwidth"`
	PrimaryAddress      string        `json:"primary_address"`
	Proxyarp            bool          `json:"proxyarp"`
	Proxyndp            bool          `json:"proxyndp"`
	Status              bool          `json:"status"`
	Vlantag             int64         `json:"vlantag"`
}

InterfaceVlan is a generated Sophos object

func (*InterfaceVlan) DeletePath

func (*InterfaceVlan) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceVlan DELETE path Creates or updates the complete object vlan

func (*InterfaceVlan) GetPath

func (i *InterfaceVlan) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceVlans GET path Returns all available vlan types

func (*InterfaceVlan) GetType

func (i *InterfaceVlan) GetType() string

GetType implements sophos.Object

func (*InterfaceVlan) PatchPath

func (*InterfaceVlan) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceVlan PATCH path Changes to parts of the object vlan types

func (*InterfaceVlan) PostPath

func (*InterfaceVlan) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceVlan POST path Create a new interface/vlan object

func (*InterfaceVlan) PutPath

func (*InterfaceVlan) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceVlan PUT path Creates or updates the complete object vlan

func (*InterfaceVlan) RefRequired

func (i *InterfaceVlan) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceVlan) UsedByPath

func (*InterfaceVlan) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceVlans

type InterfaceVlans []InterfaceVlan

InterfaceVlans is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceVlans) GetPath

func (*InterfaceVlans) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceVlans GET path Returns all available interface/vlan objects

func (*InterfaceVlans) RefRequired

func (*InterfaceVlans) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpfixConnection

type IpfixConnection struct {
	IpfixConnectionGroup           IpfixConnectionGroup           `json:"ipfix_connection_group"`
	IpfixConnectionIpfixConnection IpfixConnectionIpfixConnection `json:"ipfix_connection_ipfix_connection"`
}

IpfixConnection is a generated struct representing the Sophos IpfixConnection Endpoint GET /api/nodes/ipfix_connection

func (IpfixConnection) ApiRoutes

func (IpfixConnection) ApiRoutes() []string

ApiRoutes returns all known IpfixConnection Paths

func (IpfixConnection) Definition

func (IpfixConnection) Definition() sophos.Definition

Definition returns the /api/definitions struct of IpfixConnection

func (*IpfixConnection) GetPath

func (*IpfixConnection) GetPath() string

GetPath implements sophos.RestGetter

func (*IpfixConnection) RefRequired

func (*IpfixConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (IpfixConnection) References

func (IpfixConnection) References() []string

References returns the IpfixConnection's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (IpfixConnection) RestObjects

func (IpfixConnection) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of IpfixConnection's Objects

type IpfixConnectionGroup

type IpfixConnectionGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
}

IpfixConnectionGroup represents a UTM group

func (*IpfixConnectionGroup) DeletePath

func (*IpfixConnectionGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpfixConnectionGroup DELETE path Creates or updates the complete object group

func (*IpfixConnectionGroup) GetPath

func (i *IpfixConnectionGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpfixConnectionGroups GET path Returns all available group types

func (*IpfixConnectionGroup) PatchPath

func (*IpfixConnectionGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpfixConnectionGroup PATCH path Changes to parts of the object group types

func (*IpfixConnectionGroup) PostPath

func (*IpfixConnectionGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpfixConnectionGroup POST path Create a new ipfix_connection/group object

func (*IpfixConnectionGroup) PutPath

func (*IpfixConnectionGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpfixConnectionGroup PUT path Creates or updates the complete object group

func (*IpfixConnectionGroup) RefRequired

func (i *IpfixConnectionGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpfixConnectionGroup) UsedByPath

func (*IpfixConnectionGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpfixConnectionGroups added in v0.1.1

type IpfixConnectionGroups []IpfixConnectionGroup

IpfixConnectionGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpfixConnectionGroups) GetPath added in v0.1.1

func (*IpfixConnectionGroups) GetPath() string

GetPath implements sophos.RestObject and returns the IpfixConnectionGroups GET path Returns all available ipfix_connection/group objects

func (*IpfixConnectionGroups) RefRequired added in v0.1.1

func (*IpfixConnectionGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpfixConnectionIpfixConnection

type IpfixConnectionIpfixConnection struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Host description: REF(network/host), REF(network/dns_host)
	Host string `json:"host"`
	Name string `json:"name"`
	Oid  int    `json:"oid"`
	// Status default value is false
	Status bool `json:"status"`
}

IpfixConnectionIpfixConnection represents a UTM ipfix_connection

func (*IpfixConnectionIpfixConnection) DeletePath

func (*IpfixConnectionIpfixConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection DELETE path Creates or updates the complete object ipfix_connection

func (*IpfixConnectionIpfixConnection) GetPath

GetPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnections GET path Returns all available ipfix_connection types

func (*IpfixConnectionIpfixConnection) PatchPath

PatchPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection PATCH path Changes to parts of the object ipfix_connection types

func (*IpfixConnectionIpfixConnection) PostPath

PostPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection POST path Create a new ipfix_connection/ipfix_connection object

func (*IpfixConnectionIpfixConnection) PutPath

PutPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection PUT path Creates or updates the complete object ipfix_connection

func (*IpfixConnectionIpfixConnection) RefRequired

func (i *IpfixConnectionIpfixConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpfixConnectionIpfixConnection) UsedByPath

func (*IpfixConnectionIpfixConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpfixConnectionIpfixConnections added in v0.1.1

type IpfixConnectionIpfixConnections []IpfixConnectionIpfixConnection

IpfixConnectionIpfixConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpfixConnectionIpfixConnections) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnections GET path Returns all available ipfix_connection/ipfix_connection objects

func (*IpfixConnectionIpfixConnections) RefRequired added in v0.1.1

func (*IpfixConnectionIpfixConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Ips

type Ips struct {
	DNSServers     []interface{} `json:"dns_servers"`
	Engine         string        `json:"engine"`
	Exceptions     []string      `json:"exceptions"`
	Failopen       int64         `json:"failopen"`
	FileBasedRules int64         `json:"file_based_rules"`
	Groups         []string      `json:"groups"`
	HTTPServers    []interface{} `json:"http_servers"`
	Ipsfb          struct {
		AlertInterval  int64 `json:"alert_interval"`
		ConfigInterval int64 `json:"config_interval"`
		Debug          int64 `json:"debug"`
	} `json:"ipsfb"`
	LocalNetworks  []string      `json:"local_networks"`
	NumInstances   int64         `json:"num_instances"`
	PatternChannel string        `json:"pattern_channel"`
	Policy         string        `json:"policy"`
	QueueLength    int64         `json:"queue_length"`
	QueueThreshold int64         `json:"queue_threshold"`
	ReloadMethod   string        `json:"reload_method"`
	RestartPolicy  string        `json:"restart_policy"`
	RuleModifiers  []interface{} `json:"rule_modifiers"`
	Rules          []interface{} `json:"rules"`
	SkipAcks       int64         `json:"skip_acks"`
	SMTPServers    []interface{} `json:"smtp_servers"`
	Snortsettings  struct {
		MaxQueuedBytes int64  `json:"max_queued_bytes"`
		MaxQueuedSegs  int64  `json:"max_queued_segs"`
		MaxTcp         int64  `json:"max_tcp"`
		MaxUdp         int64  `json:"max_udp"`
		Memcap         int64  `json:"memcap"`
		SearchMethod   string `json:"search_method"`
	} `json:"snortsettings"`
	SqlServers []interface{} `json:"sql_servers"`
	Status     int64         `json:"status"`
}

Ips is a generated struct representing the Sophos Ips Endpoint GET /api/nodes/ips

func (Ips) ApiRoutes

func (Ips) ApiRoutes() []string

ApiRoutes returns all known Ips Paths

func (Ips) Definition

func (Ips) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ips

func (*Ips) GetPath

func (*Ips) GetPath() string

GetPath implements sophos.RestGetter

func (*Ips) RefRequired

func (*Ips) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ips) References

func (Ips) References() []string

References returns the Ips's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ips) RestObjects

func (Ips) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ips's Objects

type IpsException

type IpsException struct {
	Locked              string   `json:"_locked"`
	Reference           string   `json:"_ref"`
	ObjectType          string   `json:"_type"`
	Comment             string   `json:"comment"`
	DestinationNetworks []string `json:"destination_networks"`
	Name                string   `json:"name"`
	Operator            string   `json:"operator"`
	Services            []string `json:"services"`
	Skiplist            []string `json:"skiplist"`
	SourceNetworks      []string `json:"source_networks"`
	Status              bool     `json:"status"`
}

IpsException is a generated Sophos object

func (*IpsException) DeletePath

func (*IpsException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsException DELETE path Creates or updates the complete object exception

func (*IpsException) GetPath

func (i *IpsException) GetPath() string

GetPath implements sophos.RestObject and returns the IpsExceptions GET path Returns all available exception types

func (*IpsException) GetType

func (i *IpsException) GetType() string

GetType implements sophos.Object

func (*IpsException) PatchPath

func (*IpsException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsException PATCH path Changes to parts of the object exception types

func (*IpsException) PostPath

func (*IpsException) PostPath() string

PostPath implements sophos.RestObject and returns the IpsException POST path Create a new ips/exception object

func (*IpsException) PutPath

func (*IpsException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsException PUT path Creates or updates the complete object exception

func (*IpsException) RefRequired

func (i *IpsException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsException) UsedByPath

func (*IpsException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsExceptions

type IpsExceptions []IpsException

IpsExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsExceptions) GetPath

func (*IpsExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the IpsExceptions GET path Returns all available ips/exception objects

func (*IpsExceptions) RefRequired

func (*IpsExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsGroup

type IpsGroup struct {
	Locked       string   `json:"_locked"`
	Reference    string   `json:"_ref"`
	ObjectType   string   `json:"_type"`
	Action       string   `json:"action"`
	Age          int64    `json:"age"`
	Comment      string   `json:"comment"`
	ID           string   `json:"id"`
	Name         string   `json:"name"`
	Notification bool     `json:"notification"`
	Status       bool     `json:"status"`
	Subgroups    []string `json:"subgroups"`
	Warnings     bool     `json:"warnings"`
}

IpsGroup is a generated Sophos object

func (*IpsGroup) DeletePath

func (*IpsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsGroup DELETE path Creates or updates the complete object group

func (*IpsGroup) GetPath

func (i *IpsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsGroups GET path Returns all available group types

func (*IpsGroup) GetType

func (i *IpsGroup) GetType() string

GetType implements sophos.Object

func (*IpsGroup) PatchPath

func (*IpsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsGroup PATCH path Changes to parts of the object group types

func (*IpsGroup) PostPath

func (*IpsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsGroup POST path Create a new ips/group object

func (*IpsGroup) PutPath

func (*IpsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsGroup PUT path Creates or updates the complete object group

func (*IpsGroup) RefRequired

func (i *IpsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsGroup) UsedByPath

func (*IpsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsGroups

type IpsGroups []IpsGroup

IpsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsGroups) GetPath

func (*IpsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the IpsGroups GET path Returns all available ips/group objects

func (*IpsGroups) RefRequired

func (*IpsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsRule

type IpsRule struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Status default value is false
	Status bool `json:"status"`
	// Action can be one of: []string{"alert", "drop"}
	// Action default value is "alert"
	Action  string `json:"action"`
	Comment string `json:"comment"`
	Filter1 string `json:"filter1"`
	Filter2 string `json:"filter2"`
	Msg     string `json:"msg"`
	Name    string `json:"name"`
	Sid     int    `json:"sid"`
}

IpsRule represents a UTM IPS rule

func (*IpsRule) DeletePath

func (*IpsRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsRule DELETE path Creates or updates the complete object rule

func (*IpsRule) GetPath

func (i *IpsRule) GetPath() string

GetPath implements sophos.RestObject and returns the IpsRules GET path Returns all available rule types

func (*IpsRule) PatchPath

func (*IpsRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsRule PATCH path Changes to parts of the object rule types

func (*IpsRule) PostPath

func (*IpsRule) PostPath() string

PostPath implements sophos.RestObject and returns the IpsRule POST path Create a new ips/rule object

func (*IpsRule) PutPath

func (*IpsRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsRule PUT path Creates or updates the complete object rule

func (*IpsRule) RefRequired

func (i *IpsRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsRule) UsedByPath

func (*IpsRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsRuleModifier

type IpsRuleModifier struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	// Notification default value is false
	Notification bool `json:"notification"`
	Sid          int  `json:"sid"`
	// Status default value is false
	Status bool `json:"status"`
	// Action can be one of: []string{"alert", "drop"}
	// Action default value is "drop"
	Action string `json:"action"`
}

IpsRuleModifier represents a UTM IPS rule modifier

func (*IpsRuleModifier) DeletePath

func (*IpsRuleModifier) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsRuleModifier DELETE path Creates or updates the complete object rule_modifier

func (*IpsRuleModifier) GetPath

func (i *IpsRuleModifier) GetPath() string

GetPath implements sophos.RestObject and returns the IpsRuleModifiers GET path Returns all available rule_modifier types

func (*IpsRuleModifier) PatchPath

func (*IpsRuleModifier) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsRuleModifier PATCH path Changes to parts of the object rule_modifier types

func (*IpsRuleModifier) PostPath

func (*IpsRuleModifier) PostPath() string

PostPath implements sophos.RestObject and returns the IpsRuleModifier POST path Create a new ips/rule_modifier object

func (*IpsRuleModifier) PutPath

func (*IpsRuleModifier) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsRuleModifier PUT path Creates or updates the complete object rule_modifier

func (*IpsRuleModifier) RefRequired

func (i *IpsRuleModifier) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsRuleModifier) UsedByPath

func (*IpsRuleModifier) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsRuleModifiers added in v0.1.1

type IpsRuleModifiers []IpsRuleModifier

IpsRuleModifiers is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsRuleModifiers) GetPath added in v0.1.1

func (*IpsRuleModifiers) GetPath() string

GetPath implements sophos.RestObject and returns the IpsRuleModifiers GET path Returns all available ips/rule_modifier objects

func (*IpsRuleModifiers) RefRequired added in v0.1.1

func (*IpsRuleModifiers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsRules added in v0.1.1

type IpsRules []IpsRule

IpsRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsRules) GetPath added in v0.1.1

func (*IpsRules) GetPath() string

GetPath implements sophos.RestObject and returns the IpsRules GET path Returns all available ips/rule objects

func (*IpsRules) RefRequired added in v0.1.1

func (*IpsRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Ipsec

type Ipsec struct {
	Advanced struct {
		CrlAutoFetching       int64         `json:"crl_auto_fetching"`
		CrlStrictPolicy       int64         `json:"crl_strict_policy"`
		DeadPeerDetection     int64         `json:"dead_peer_detection"`
		IkeDebug              []interface{} `json:"ike_debug"`
		IkePort               int64         `json:"ike_port"`
		Metric                int64         `json:"metric"`
		NatTraversal          int64         `json:"nat_traversal"`
		NatTraversalKeepalive int64         `json:"nat_traversal_keepalive"`
		ProbePsk              int64         `json:"probe_psk"`
		PskVpnID              string        `json:"psk_vpn_id"`
		PskVpnIDType          string        `json:"psk_vpn_id_type"`
	} `json:"advanced"`
	Connections []string `json:"connections"`
	LocalRsa    string   `json:"local_rsa"`
	LocalX509   string   `json:"local_x509"`
	Status      int64    `json:"status"`
}

Ipsec is a generated struct representing the Sophos Ipsec Endpoint GET /api/nodes/ipsec

func (Ipsec) ApiRoutes

func (Ipsec) ApiRoutes() []string

ApiRoutes returns all known Ipsec Paths

func (Ipsec) Definition

func (Ipsec) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ipsec

func (*Ipsec) GetPath

func (*Ipsec) GetPath() string

GetPath implements sophos.RestGetter

func (*Ipsec) RefRequired

func (*Ipsec) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ipsec) References

func (Ipsec) References() []string

References returns the Ipsec's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ipsec) RestObjects

func (Ipsec) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ipsec's Objects

type IpsecConnection

type IpsecConnection struct {
	IpsecConnectionAmazonVpc        IpsecConnectionAmazonVpc        `json:"ipsec_connection_amazon_vpc"`
	IpsecConnectionGroup            IpsecConnectionGroup            `json:"ipsec_connection_group"`
	IpsecConnectionL2Tp             IpsecConnectionL2Tp             `json:"ipsec_connection_l2tp"`
	IpsecConnectionRoadwarriorCa    IpsecConnectionRoadwarriorCa    `json:"ipsec_connection_roadwarrior_ca"`
	IpsecConnectionRoadwarriorCisco IpsecConnectionRoadwarriorCisco `json:"ipsec_connection_roadwarrior_cisco"`
	IpsecConnectionRoadwarriorPsk   IpsecConnectionRoadwarriorPsk   `json:"ipsec_connection_roadwarrior_psk"`
	IpsecConnectionRoadwarriorX509  IpsecConnectionRoadwarriorX509  `json:"ipsec_connection_roadwarrior_x509"`
	IpsecConnectionSiteToSite       IpsecConnectionSiteToSite       `json:"ipsec_connection_site_to_site"`
}

IpsecConnection is a generated struct representing the Sophos IpsecConnection Endpoint GET /api/nodes/ipsec_connection

func (IpsecConnection) ApiRoutes

func (IpsecConnection) ApiRoutes() []string

ApiRoutes returns all known IpsecConnection Paths

func (IpsecConnection) Definition

func (IpsecConnection) Definition() sophos.Definition

Definition returns the /api/definitions struct of IpsecConnection

func (*IpsecConnection) GetPath

func (*IpsecConnection) GetPath() string

GetPath implements sophos.RestGetter

func (*IpsecConnection) RefRequired

func (*IpsecConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (IpsecConnection) References

func (IpsecConnection) References() []string

References returns the IpsecConnection's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (IpsecConnection) RestObjects

func (IpsecConnection) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of IpsecConnection's Objects

type IpsecConnectionAmazonVpc

type IpsecConnectionAmazonVpc struct {
	Locked         string `json:"_locked"`
	Reference      string `json:"_ref"`
	ObjectType     string `json:"_type"`
	Authentication string `json:"authentication"`
	Comment        string `json:"comment"`
	Interface      string `json:"interface"`
	Name           string `json:"name"`
	Policy         string `json:"policy"`
	Remote         string `json:"remote"`
}

IpsecConnectionAmazonVpc is a generated Sophos object

func (*IpsecConnectionAmazonVpc) DeletePath

func (*IpsecConnectionAmazonVpc) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc DELETE path Creates or updates the complete object amazon_vpc

func (*IpsecConnectionAmazonVpc) GetPath

func (i *IpsecConnectionAmazonVpc) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpcs GET path Returns all available amazon_vpc types

func (*IpsecConnectionAmazonVpc) GetType

func (i *IpsecConnectionAmazonVpc) GetType() string

GetType implements sophos.Object

func (*IpsecConnectionAmazonVpc) PatchPath

func (*IpsecConnectionAmazonVpc) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc PATCH path Changes to parts of the object amazon_vpc types

func (*IpsecConnectionAmazonVpc) PostPath

func (*IpsecConnectionAmazonVpc) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc POST path Create a new ipsec_connection/amazon_vpc object

func (*IpsecConnectionAmazonVpc) PutPath

func (*IpsecConnectionAmazonVpc) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc PUT path Creates or updates the complete object amazon_vpc

func (*IpsecConnectionAmazonVpc) RefRequired

func (i *IpsecConnectionAmazonVpc) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionAmazonVpc) UsedByPath

func (*IpsecConnectionAmazonVpc) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionAmazonVpcs

type IpsecConnectionAmazonVpcs []IpsecConnectionAmazonVpc

IpsecConnectionAmazonVpcs is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionAmazonVpcs) GetPath

func (*IpsecConnectionAmazonVpcs) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpcs GET path Returns all available ipsec_connection/amazon_vpc objects

func (*IpsecConnectionAmazonVpcs) RefRequired

func (*IpsecConnectionAmazonVpcs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionGroup

type IpsecConnectionGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

IpsecConnectionGroup represents a UTM group

func (*IpsecConnectionGroup) DeletePath

func (*IpsecConnectionGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionGroup DELETE path Creates or updates the complete object group

func (*IpsecConnectionGroup) GetPath

func (i *IpsecConnectionGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionGroups GET path Returns all available group types

func (*IpsecConnectionGroup) PatchPath

func (*IpsecConnectionGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionGroup PATCH path Changes to parts of the object group types

func (*IpsecConnectionGroup) PostPath

func (*IpsecConnectionGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionGroup POST path Create a new ipsec_connection/group object

func (*IpsecConnectionGroup) PutPath

func (*IpsecConnectionGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionGroup PUT path Creates or updates the complete object group

func (*IpsecConnectionGroup) RefRequired

func (i *IpsecConnectionGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionGroup) UsedByPath

func (*IpsecConnectionGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionGroups added in v0.1.1

type IpsecConnectionGroups []IpsecConnectionGroup

IpsecConnectionGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionGroups) GetPath added in v0.1.1

func (*IpsecConnectionGroups) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionGroups GET path Returns all available ipsec_connection/group objects

func (*IpsecConnectionGroups) RefRequired added in v0.1.1

func (*IpsecConnectionGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionL2Tp

type IpsecConnectionL2Tp struct {
	Locked                    string   `json:"_locked"`
	Reference                 string   `json:"_ref"`
	ObjectType                string   `json:"_type"`
	AuthenticationType        string   `json:"authentication_type"`
	Certificate               string   `json:"certificate"`
	Comment                   string   `json:"comment"`
	Debug                     bool     `json:"debug"`
	Interface                 string   `json:"interface"`
	IPAssignmentDhcp          string   `json:"ip_assignment_dhcp"`
	IPAssignmentDhcpInterface string   `json:"ip_assignment_dhcp_interface"`
	IPAssignmentMode          string   `json:"ip_assignment_mode"`
	IPAssignmentPool          string   `json:"ip_assignment_pool"`
	IphoneConnectionName      string   `json:"iphone_connection_name"`
	IphoneHostname            string   `json:"iphone_hostname"`
	IphoneStatus              bool     `json:"iphone_status"`
	Name                      string   `json:"name"`
	Policy                    string   `json:"policy"`
	Psk                       string   `json:"psk"`
	Status                    bool     `json:"status"`
	Users                     []string `json:"users"`
}

IpsecConnectionL2Tp is a generated Sophos object

func (*IpsecConnectionL2Tp) DeletePath

func (*IpsecConnectionL2Tp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionL2Tp DELETE path Creates or updates the complete object l2tp

func (*IpsecConnectionL2Tp) GetPath

func (i *IpsecConnectionL2Tp) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionL2Tps GET path Returns all available l2tp types

func (*IpsecConnectionL2Tp) GetType

func (i *IpsecConnectionL2Tp) GetType() string

GetType implements sophos.Object

func (*IpsecConnectionL2Tp) PatchPath

func (*IpsecConnectionL2Tp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionL2Tp PATCH path Changes to parts of the object l2tp types

func (*IpsecConnectionL2Tp) PostPath

func (*IpsecConnectionL2Tp) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionL2Tp POST path Create a new ipsec_connection/l2tp object

func (*IpsecConnectionL2Tp) PutPath

func (*IpsecConnectionL2Tp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionL2Tp PUT path Creates or updates the complete object l2tp

func (*IpsecConnectionL2Tp) RefRequired

func (i *IpsecConnectionL2Tp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionL2Tp) UsedByPath

func (*IpsecConnectionL2Tp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionL2Tps

type IpsecConnectionL2Tps []IpsecConnectionL2Tp

IpsecConnectionL2Tps is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionL2Tps) GetPath

func (*IpsecConnectionL2Tps) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionL2Tps GET path Returns all available ipsec_connection/l2tp objects

func (*IpsecConnectionL2Tps) RefRequired

func (*IpsecConnectionL2Tps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionRoadwarriorCa

type IpsecConnectionRoadwarriorCa struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Authentication description: REF(ipsec_remote_auth/ca)
	Authentication string `json:"authentication"`
	// IpPool description: REF(network/network)
	IpPool   string        `json:"ip_pool"`
	Name     string        `json:"name"`
	Networks []interface{} `json:"networks"`
	// UseIpPool default value is false
	UseIpPool bool   `json:"use_ip_pool"`
	Comment   string `json:"comment"`
	// Interface description: REF(interface/*)
	Interface string `json:"interface"`
	// Policy description: REF(ipsec/policy)
	Policy string `json:"policy"`
	// Status default value is false
	Status bool          `json:"status"`
	Users  []interface{} `json:"users"`
	// Xauth default value is false
	Xauth bool `json:"xauth"`
}

IpsecConnectionRoadwarriorCa represents a UTM IPsec CA remote access

func (*IpsecConnectionRoadwarriorCa) DeletePath

func (*IpsecConnectionRoadwarriorCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa DELETE path Creates or updates the complete object roadwarrior_ca

func (*IpsecConnectionRoadwarriorCa) GetPath

func (i *IpsecConnectionRoadwarriorCa) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCas GET path Returns all available roadwarrior_ca types

func (*IpsecConnectionRoadwarriorCa) PatchPath

func (*IpsecConnectionRoadwarriorCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa PATCH path Changes to parts of the object roadwarrior_ca types

func (*IpsecConnectionRoadwarriorCa) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa POST path Create a new ipsec_connection/roadwarrior_ca object

func (*IpsecConnectionRoadwarriorCa) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa PUT path Creates or updates the complete object roadwarrior_ca

func (*IpsecConnectionRoadwarriorCa) RefRequired

func (i *IpsecConnectionRoadwarriorCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCa) UsedByPath

func (*IpsecConnectionRoadwarriorCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorCas added in v0.1.1

type IpsecConnectionRoadwarriorCas []IpsecConnectionRoadwarriorCa

IpsecConnectionRoadwarriorCas is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCas) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCas GET path Returns all available ipsec_connection/roadwarrior_ca objects

func (*IpsecConnectionRoadwarriorCas) RefRequired added in v0.1.1

func (*IpsecConnectionRoadwarriorCas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionRoadwarriorCisco

type IpsecConnectionRoadwarriorCisco struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// AutoPfOut description: REF(packetfilter/packetfilter)
	// AutoPfOut default value is ""
	AutoPfOut string `json:"auto_pf_out"`
	// AutoPfrule default value is false
	AutoPfrule bool `json:"auto_pfrule"`
	// IphoneOndemandEnabled default value is false
	IphoneOndemandEnabled bool   `json:"iphone_ondemand_enabled"`
	Name                  string `json:"name"`
	// Status default value is false
	Status bool `json:"status"`
	// AutoPfIn description: REF(packetfilter/packetfilter)
	// AutoPfIn default value is ""
	AutoPfIn string `json:"auto_pf_in"`
	// Interface description: REF(interface/*)
	Interface             string        `json:"interface"`
	IphoneOndemandDomains []interface{} `json:"iphone_ondemand_domains"`
	Networks              []interface{} `json:"networks"`
	// Policy description: REF(ipsec/policy)
	// Policy default value is "REF_IPsecPolicyCisco"
	Policy  string        `json:"policy"`
	Aaa     []interface{} `json:"aaa"`
	Comment string        `json:"comment"`
	// IpAssignmentPool description: REF(network/network)
	IpAssignmentPool string `json:"ip_assignment_pool"`
	// IphoneOndemandType can be one of: []string{"OnDemandMatchDomainsAlways", "OnDemandMatchDomainsOnRetry"}
	// IphoneOndemandType default value is "OnDemandMatchDomainsOnRetry"
	IphoneOndemandType string `json:"iphone_ondemand_type"`
	// IphoneStatus default value is false
	IphoneStatus bool `json:"iphone_status"`
	// Certificate description: REF(ca/host_key_cert)
	Certificate          string `json:"certificate"`
	IphoneConnectionName string `json:"iphone_connection_name"`
	// IphoneHostname default value is ""
	IphoneHostname string `json:"iphone_hostname"`
}

IpsecConnectionRoadwarriorCisco represents a UTM Cisco VPN client connection

func (*IpsecConnectionRoadwarriorCisco) DeletePath

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco DELETE path Creates or updates the complete object roadwarrior_cisco

func (*IpsecConnectionRoadwarriorCisco) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCiscos GET path Returns all available roadwarrior_cisco types

func (*IpsecConnectionRoadwarriorCisco) PatchPath

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco PATCH path Changes to parts of the object roadwarrior_cisco types

func (*IpsecConnectionRoadwarriorCisco) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco POST path Create a new ipsec_connection/roadwarrior_cisco object

func (*IpsecConnectionRoadwarriorCisco) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco PUT path Creates or updates the complete object roadwarrior_cisco

func (*IpsecConnectionRoadwarriorCisco) RefRequired

func (i *IpsecConnectionRoadwarriorCisco) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCisco) UsedByPath

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorCiscos added in v0.1.1

type IpsecConnectionRoadwarriorCiscos []IpsecConnectionRoadwarriorCisco

IpsecConnectionRoadwarriorCiscos is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCiscos) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCiscos GET path Returns all available ipsec_connection/roadwarrior_cisco objects

func (*IpsecConnectionRoadwarriorCiscos) RefRequired added in v0.1.1

func (*IpsecConnectionRoadwarriorCiscos) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionRoadwarriorPsk

type IpsecConnectionRoadwarriorPsk struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Interface description: REF(interface/*)
	Interface string `json:"interface"`
	// IpPool description: REF(network/network)
	IpPool   string        `json:"ip_pool"`
	Name     string        `json:"name"`
	Networks []interface{} `json:"networks"`
	// Policy description: REF(ipsec/policy)
	Policy string `json:"policy"`
	// Status default value is false
	Status bool `json:"status"`
	// UseIpPool default value is false
	UseIpPool bool `json:"use_ip_pool"`
	// Authentication description: REF(ipsec_remote_auth/psk)
	Authentication string `json:"authentication"`
	// Xauth default value is false
	Xauth bool          `json:"xauth"`
	Users []interface{} `json:"users"`
}

IpsecConnectionRoadwarriorPsk represents a UTM IPsec PSK remote access

func (*IpsecConnectionRoadwarriorPsk) DeletePath

func (*IpsecConnectionRoadwarriorPsk) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk DELETE path Creates or updates the complete object roadwarrior_psk

func (*IpsecConnectionRoadwarriorPsk) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsks GET path Returns all available roadwarrior_psk types

func (*IpsecConnectionRoadwarriorPsk) PatchPath

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk PATCH path Changes to parts of the object roadwarrior_psk types

func (*IpsecConnectionRoadwarriorPsk) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk POST path Create a new ipsec_connection/roadwarrior_psk object

func (*IpsecConnectionRoadwarriorPsk) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk PUT path Creates or updates the complete object roadwarrior_psk

func (*IpsecConnectionRoadwarriorPsk) RefRequired

func (i *IpsecConnectionRoadwarriorPsk) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorPsk) UsedByPath

func (*IpsecConnectionRoadwarriorPsk) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorPsks added in v0.1.1

type IpsecConnectionRoadwarriorPsks []IpsecConnectionRoadwarriorPsk

IpsecConnectionRoadwarriorPsks is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorPsks) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsks GET path Returns all available ipsec_connection/roadwarrior_psk objects

func (*IpsecConnectionRoadwarriorPsks) RefRequired added in v0.1.1

func (*IpsecConnectionRoadwarriorPsks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionRoadwarriorX509

type IpsecConnectionRoadwarriorX509 struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Networks   []interface{} `json:"networks"`
	// Policy description: REF(ipsec/policy)
	Policy string `json:"policy"`
	// Status default value is false
	Status bool `json:"status"`
	// Xauth default value is false
	Xauth bool `json:"xauth"`
	// AutoPfIn description: REF(packetfilter/packetfilter)
	// AutoPfIn default value is ""
	AutoPfIn string `json:"auto_pf_in"`
	// AutoPfOut description: REF(packetfilter/packetfilter)
	// AutoPfOut default value is ""
	AutoPfOut string        `json:"auto_pf_out"`
	Comment   string        `json:"comment"`
	Name      string        `json:"name"`
	Users     []interface{} `json:"users"`
	// AutoPfrule default value is false
	AutoPfrule bool `json:"auto_pfrule"`
	// Interface description: REF(interface/*)
	Interface string `json:"interface"`
	// IpPool description: REF(network/network)
	IpPool string `json:"ip_pool"`
	// UseIpPool default value is false
	UseIpPool bool `json:"use_ip_pool"`
}

IpsecConnectionRoadwarriorX509 represents a UTM IPsec X509 remote access

func (*IpsecConnectionRoadwarriorX509) DeletePath

func (*IpsecConnectionRoadwarriorX509) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 DELETE path Creates or updates the complete object roadwarrior_x509

func (*IpsecConnectionRoadwarriorX509) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509s GET path Returns all available roadwarrior_x509 types

func (*IpsecConnectionRoadwarriorX509) PatchPath

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 PATCH path Changes to parts of the object roadwarrior_x509 types

func (*IpsecConnectionRoadwarriorX509) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 POST path Create a new ipsec_connection/roadwarrior_x509 object

func (*IpsecConnectionRoadwarriorX509) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 PUT path Creates or updates the complete object roadwarrior_x509

func (*IpsecConnectionRoadwarriorX509) RefRequired

func (i *IpsecConnectionRoadwarriorX509) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorX509) UsedByPath

func (*IpsecConnectionRoadwarriorX509) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorX509s added in v0.1.1

type IpsecConnectionRoadwarriorX509s []IpsecConnectionRoadwarriorX509

IpsecConnectionRoadwarriorX509s is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorX509s) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509s GET path Returns all available ipsec_connection/roadwarrior_x509 objects

func (*IpsecConnectionRoadwarriorX509s) RefRequired added in v0.1.1

func (*IpsecConnectionRoadwarriorX509s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionSiteToSite

type IpsecConnectionSiteToSite struct {
	Locked        string   `json:"_locked"`
	Reference     string   `json:"_ref"`
	ObjectType    string   `json:"_type"`
	AutoPfIn      string   `json:"auto_pf_in"`
	AutoPfOut     string   `json:"auto_pf_out"`
	AutoPfrule    bool     `json:"auto_pfrule"`
	Bind          bool     `json:"bind"`
	Comment       string   `json:"comment"`
	Interface     string   `json:"interface"`
	Name          string   `json:"name"`
	Networks      []string `json:"networks"`
	Policy        string   `json:"policy"`
	RemoteGateway string   `json:"remote_gateway"`
	Status        bool     `json:"status"`
	StrictRouting bool     `json:"strict_routing"`
}

IpsecConnectionSiteToSite is a generated Sophos object

func (*IpsecConnectionSiteToSite) DeletePath

func (*IpsecConnectionSiteToSite) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionSiteToSite DELETE path Creates or updates the complete object site_to_site

func (*IpsecConnectionSiteToSite) GetPath

func (i *IpsecConnectionSiteToSite) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionSiteToSites GET path Returns all available site_to_site types

func (*IpsecConnectionSiteToSite) GetType

func (i *IpsecConnectionSiteToSite) GetType() string

GetType implements sophos.Object

func (*IpsecConnectionSiteToSite) PatchPath

func (*IpsecConnectionSiteToSite) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionSiteToSite PATCH path Changes to parts of the object site_to_site types

func (*IpsecConnectionSiteToSite) PostPath

func (*IpsecConnectionSiteToSite) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionSiteToSite POST path Create a new ipsec_connection/site_to_site object

func (*IpsecConnectionSiteToSite) PutPath

func (*IpsecConnectionSiteToSite) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionSiteToSite PUT path Creates or updates the complete object site_to_site

func (*IpsecConnectionSiteToSite) RefRequired

func (i *IpsecConnectionSiteToSite) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionSiteToSite) UsedByPath

func (*IpsecConnectionSiteToSite) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionSiteToSites

type IpsecConnectionSiteToSites []IpsecConnectionSiteToSite

IpsecConnectionSiteToSites is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionSiteToSites) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionSiteToSites GET path Returns all available ipsec_connection/site_to_site objects

func (*IpsecConnectionSiteToSites) RefRequired

func (*IpsecConnectionSiteToSites) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecGroup

type IpsecGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

IpsecGroup represents a UTM group

func (*IpsecGroup) DeletePath

func (*IpsecGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecGroup DELETE path Creates or updates the complete object group

func (*IpsecGroup) GetPath

func (i *IpsecGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecGroups GET path Returns all available group types

func (*IpsecGroup) PatchPath

func (*IpsecGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecGroup PATCH path Changes to parts of the object group types

func (*IpsecGroup) PostPath

func (*IpsecGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecGroup POST path Create a new ipsec/group object

func (*IpsecGroup) PutPath

func (*IpsecGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecGroup PUT path Creates or updates the complete object group

func (*IpsecGroup) RefRequired

func (i *IpsecGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecGroup) UsedByPath

func (*IpsecGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecGroups added in v0.1.1

type IpsecGroups []IpsecGroup

IpsecGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecGroups) GetPath added in v0.1.1

func (*IpsecGroups) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecGroups GET path Returns all available ipsec/group objects

func (*IpsecGroups) RefRequired added in v0.1.1

func (*IpsecGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecPolicy

type IpsecPolicy struct {
	Locked            string `json:"_locked"`
	Reference         string `json:"_ref"`
	ObjectType        string `json:"_type"`
	Comment           string `json:"comment"`
	IkeAuthAlg        string `json:"ike_auth_alg"`
	IkeDhGroup        string `json:"ike_dh_group"`
	IkeEncAlg         string `json:"ike_enc_alg"`
	IkeSaLifetime     int64  `json:"ike_sa_lifetime"`
	IpsecAuthAlg      string `json:"ipsec_auth_alg"`
	IpsecCompression  bool   `json:"ipsec_compression"`
	IpsecEncAlg       string `json:"ipsec_enc_alg"`
	IpsecPfsGroup     string `json:"ipsec_pfs_group"`
	IpsecSaLifetime   int64  `json:"ipsec_sa_lifetime"`
	IpsecStrictPolicy bool   `json:"ipsec_strict_policy"`
	Name              string `json:"name"`
}

IpsecPolicy is a generated Sophos object

func (*IpsecPolicy) DeletePath

func (*IpsecPolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecPolicy DELETE path Creates or updates the complete object policy

func (*IpsecPolicy) GetPath

func (i *IpsecPolicy) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecPolicys GET path Returns all available policy types

func (*IpsecPolicy) GetType

func (i *IpsecPolicy) GetType() string

GetType implements sophos.Object

func (*IpsecPolicy) PatchPath

func (*IpsecPolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecPolicy PATCH path Changes to parts of the object policy types

func (*IpsecPolicy) PostPath

func (*IpsecPolicy) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecPolicy POST path Create a new ipsec/policy object

func (*IpsecPolicy) PutPath

func (*IpsecPolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecPolicy PUT path Creates or updates the complete object policy

func (*IpsecPolicy) RefRequired

func (i *IpsecPolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecPolicy) UsedByPath

func (*IpsecPolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecPolicys

type IpsecPolicys []IpsecPolicy

IpsecPolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecPolicys) GetPath

func (*IpsecPolicys) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecPolicys GET path Returns all available ipsec/policy objects

func (*IpsecPolicys) RefRequired

func (*IpsecPolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuth

type IpsecRemoteAuth struct {
	IpsecRemoteAuthCa    IpsecRemoteAuthCa    `json:"ipsec_remote_auth_ca"`
	IpsecRemoteAuthGroup IpsecRemoteAuthGroup `json:"ipsec_remote_auth_group"`
	IpsecRemoteAuthPsk   IpsecRemoteAuthPsk   `json:"ipsec_remote_auth_psk"`
	IpsecRemoteAuthRsa   IpsecRemoteAuthRsa   `json:"ipsec_remote_auth_rsa"`
	IpsecRemoteAuthX509  IpsecRemoteAuthX509  `json:"ipsec_remote_auth_x509"`
}

IpsecRemoteAuth is a generated struct representing the Sophos IpsecRemoteAuth Endpoint GET /api/nodes/ipsec_remote_auth

func (IpsecRemoteAuth) ApiRoutes

func (IpsecRemoteAuth) ApiRoutes() []string

ApiRoutes returns all known IpsecRemoteAuth Paths

func (IpsecRemoteAuth) Definition

func (IpsecRemoteAuth) Definition() sophos.Definition

Definition returns the /api/definitions struct of IpsecRemoteAuth

func (*IpsecRemoteAuth) GetPath

func (*IpsecRemoteAuth) GetPath() string

GetPath implements sophos.RestGetter

func (*IpsecRemoteAuth) RefRequired

func (*IpsecRemoteAuth) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (IpsecRemoteAuth) References

func (IpsecRemoteAuth) References() []string

References returns the IpsecRemoteAuth's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (IpsecRemoteAuth) RestObjects

func (IpsecRemoteAuth) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of IpsecRemoteAuth's Objects

type IpsecRemoteAuthCa

type IpsecRemoteAuthCa struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Certificate description: REF(ca/signing_ca), REF(ca/verification_ca)
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Name        string `json:"name"`
	// VpnId default value is "C=*, ST=*, L=*, O=*, OU=*, CN=*, E=*"
	VpnId string `json:"vpn_id"`
}

IpsecRemoteAuthCa represents a UTM X509 CA and DN match

func (*IpsecRemoteAuthCa) DeletePath

func (*IpsecRemoteAuthCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthCa DELETE path Creates or updates the complete object ca

func (*IpsecRemoteAuthCa) GetPath

func (i *IpsecRemoteAuthCa) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthCas GET path Returns all available ca types

func (*IpsecRemoteAuthCa) PatchPath

func (*IpsecRemoteAuthCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthCa PATCH path Changes to parts of the object ca types

func (*IpsecRemoteAuthCa) PostPath

func (*IpsecRemoteAuthCa) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthCa POST path Create a new ipsec_remote_auth/ca object

func (*IpsecRemoteAuthCa) PutPath

func (*IpsecRemoteAuthCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthCa PUT path Creates or updates the complete object ca

func (*IpsecRemoteAuthCa) RefRequired

func (i *IpsecRemoteAuthCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthCa) UsedByPath

func (*IpsecRemoteAuthCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthCas added in v0.1.1

type IpsecRemoteAuthCas []IpsecRemoteAuthCa

IpsecRemoteAuthCas is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthCas) GetPath added in v0.1.1

func (*IpsecRemoteAuthCas) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthCas GET path Returns all available ipsec_remote_auth/ca objects

func (*IpsecRemoteAuthCas) RefRequired added in v0.1.1

func (*IpsecRemoteAuthCas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuthGroup

type IpsecRemoteAuthGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

IpsecRemoteAuthGroup represents a UTM group

func (*IpsecRemoteAuthGroup) DeletePath

func (*IpsecRemoteAuthGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthGroup DELETE path Creates or updates the complete object group

func (*IpsecRemoteAuthGroup) GetPath

func (i *IpsecRemoteAuthGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthGroups GET path Returns all available group types

func (*IpsecRemoteAuthGroup) PatchPath

func (*IpsecRemoteAuthGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup PATCH path Changes to parts of the object group types

func (*IpsecRemoteAuthGroup) PostPath

func (*IpsecRemoteAuthGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup POST path Create a new ipsec_remote_auth/group object

func (*IpsecRemoteAuthGroup) PutPath

func (*IpsecRemoteAuthGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup PUT path Creates or updates the complete object group

func (*IpsecRemoteAuthGroup) RefRequired

func (i *IpsecRemoteAuthGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthGroup) UsedByPath

func (*IpsecRemoteAuthGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthGroups added in v0.1.1

type IpsecRemoteAuthGroups []IpsecRemoteAuthGroup

IpsecRemoteAuthGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthGroups) GetPath added in v0.1.1

func (*IpsecRemoteAuthGroups) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthGroups GET path Returns all available ipsec_remote_auth/group objects

func (*IpsecRemoteAuthGroups) RefRequired added in v0.1.1

func (*IpsecRemoteAuthGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuthPsk

type IpsecRemoteAuthPsk struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Psk        string `json:"psk"`
	VpnID      string `json:"vpn_id"`
	VpnIDType  string `json:"vpn_id_type"`
}

IpsecRemoteAuthPsk is a generated Sophos object

func (*IpsecRemoteAuthPsk) DeletePath

func (*IpsecRemoteAuthPsk) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthPsk DELETE path Creates or updates the complete object psk

func (*IpsecRemoteAuthPsk) GetPath

func (i *IpsecRemoteAuthPsk) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthPsks GET path Returns all available psk types

func (*IpsecRemoteAuthPsk) GetType

func (i *IpsecRemoteAuthPsk) GetType() string

GetType implements sophos.Object

func (*IpsecRemoteAuthPsk) PatchPath

func (*IpsecRemoteAuthPsk) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthPsk PATCH path Changes to parts of the object psk types

func (*IpsecRemoteAuthPsk) PostPath

func (*IpsecRemoteAuthPsk) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthPsk POST path Create a new ipsec_remote_auth/psk object

func (*IpsecRemoteAuthPsk) PutPath

func (*IpsecRemoteAuthPsk) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthPsk PUT path Creates or updates the complete object psk

func (*IpsecRemoteAuthPsk) RefRequired

func (i *IpsecRemoteAuthPsk) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthPsk) UsedByPath

func (*IpsecRemoteAuthPsk) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthPsks

type IpsecRemoteAuthPsks []IpsecRemoteAuthPsk

IpsecRemoteAuthPsks is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthPsks) GetPath

func (*IpsecRemoteAuthPsks) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthPsks GET path Returns all available ipsec_remote_auth/psk objects

func (*IpsecRemoteAuthPsks) RefRequired

func (*IpsecRemoteAuthPsks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuthRsa

type IpsecRemoteAuthRsa struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// VpnId default value is ""
	VpnId string `json:"vpn_id"`
	// VpnIdType can be one of: []string{"ipv4_address", "fqdn", "user_fqdn"}
	VpnIdType string `json:"vpn_id_type"`
	Comment   string `json:"comment"`
	Name      string `json:"name"`
	Pubkey    string `json:"pubkey"`
}

IpsecRemoteAuthRsa represents a UTM RSA public key

func (*IpsecRemoteAuthRsa) DeletePath

func (*IpsecRemoteAuthRsa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthRsa DELETE path Creates or updates the complete object rsa

func (*IpsecRemoteAuthRsa) GetPath

func (i *IpsecRemoteAuthRsa) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthRsas GET path Returns all available rsa types

func (*IpsecRemoteAuthRsa) PatchPath

func (*IpsecRemoteAuthRsa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa PATCH path Changes to parts of the object rsa types

func (*IpsecRemoteAuthRsa) PostPath

func (*IpsecRemoteAuthRsa) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa POST path Create a new ipsec_remote_auth/rsa object

func (*IpsecRemoteAuthRsa) PutPath

func (*IpsecRemoteAuthRsa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa PUT path Creates or updates the complete object rsa

func (*IpsecRemoteAuthRsa) RefRequired

func (i *IpsecRemoteAuthRsa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthRsa) UsedByPath

func (*IpsecRemoteAuthRsa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthRsas added in v0.1.1

type IpsecRemoteAuthRsas []IpsecRemoteAuthRsa

IpsecRemoteAuthRsas is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthRsas) GetPath added in v0.1.1

func (*IpsecRemoteAuthRsas) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthRsas GET path Returns all available ipsec_remote_auth/rsa objects

func (*IpsecRemoteAuthRsas) RefRequired added in v0.1.1

func (*IpsecRemoteAuthRsas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuthX509

type IpsecRemoteAuthX509 struct {
	Locked      string `json:"_locked"`
	Reference   string `json:"_ref"`
	ObjectType  string `json:"_type"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Name        string `json:"name"`
	VpnID       string `json:"vpn_id"`
	VpnIDType   string `json:"vpn_id_type"`
}

IpsecRemoteAuthX509 is a generated Sophos object

func (*IpsecRemoteAuthX509) DeletePath

func (*IpsecRemoteAuthX509) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthX509 DELETE path Creates or updates the complete object x509

func (*IpsecRemoteAuthX509) GetPath

func (i *IpsecRemoteAuthX509) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthX509s GET path Returns all available x509 types

func (*IpsecRemoteAuthX509) GetType

func (i *IpsecRemoteAuthX509) GetType() string

GetType implements sophos.Object

func (*IpsecRemoteAuthX509) PatchPath

func (*IpsecRemoteAuthX509) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthX509 PATCH path Changes to parts of the object x509 types

func (*IpsecRemoteAuthX509) PostPath

func (*IpsecRemoteAuthX509) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthX509 POST path Create a new ipsec_remote_auth/x509 object

func (*IpsecRemoteAuthX509) PutPath

func (*IpsecRemoteAuthX509) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthX509 PUT path Creates or updates the complete object x509

func (*IpsecRemoteAuthX509) RefRequired

func (i *IpsecRemoteAuthX509) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthX509) UsedByPath

func (*IpsecRemoteAuthX509) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthX509s

type IpsecRemoteAuthX509s []IpsecRemoteAuthX509

IpsecRemoteAuthX509s is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthX509s) GetPath

func (*IpsecRemoteAuthX509s) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthX509s GET path Returns all available ipsec_remote_auth/x509 objects

func (*IpsecRemoteAuthX509s) RefRequired

func (*IpsecRemoteAuthX509s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteGateway

type IpsecRemoteGateway struct {
	Locked         string   `json:"_locked"`
	Reference      string   `json:"_ref"`
	ObjectType     string   `json:"_type"`
	Authentication string   `json:"authentication"`
	Comment        string   `json:"comment"`
	Ecn            bool     `json:"ecn"`
	Host           string   `json:"host"`
	Name           string   `json:"name"`
	Networks       []string `json:"networks"`
	PmtuDiscovery  bool     `json:"pmtu_discovery"`
	Xauth          bool     `json:"xauth"`
	XauthPassword  string   `json:"xauth_password"`
	XauthUsername  string   `json:"xauth_username"`
}

IpsecRemoteGateway is a generated Sophos object

func (*IpsecRemoteGateway) DeletePath

func (*IpsecRemoteGateway) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteGateway DELETE path Creates or updates the complete object remote_gateway

func (*IpsecRemoteGateway) GetPath

func (i *IpsecRemoteGateway) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteGateways GET path Returns all available remote_gateway types

func (*IpsecRemoteGateway) GetType

func (i *IpsecRemoteGateway) GetType() string

GetType implements sophos.Object

func (*IpsecRemoteGateway) PatchPath

func (*IpsecRemoteGateway) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteGateway PATCH path Changes to parts of the object remote_gateway types

func (*IpsecRemoteGateway) PostPath

func (*IpsecRemoteGateway) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteGateway POST path Create a new ipsec/remote_gateway object

func (*IpsecRemoteGateway) PutPath

func (*IpsecRemoteGateway) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteGateway PUT path Creates or updates the complete object remote_gateway

func (*IpsecRemoteGateway) RefRequired

func (i *IpsecRemoteGateway) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteGateway) UsedByPath

func (*IpsecRemoteGateway) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteGateways

type IpsecRemoteGateways []IpsecRemoteGateway

IpsecRemoteGateways is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteGateways) GetPath

func (*IpsecRemoteGateways) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteGateways GET path Returns all available ipsec/remote_gateway objects

func (*IpsecRemoteGateways) RefRequired

func (*IpsecRemoteGateways) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Itfhw

type Itfhw struct {
	ItfhwAweNetwork      ItfhwAweNetwork      `json:"itfhw_awe_network"`
	ItfhwAweNetworkGroup ItfhwAweNetworkGroup `json:"itfhw_awe_network_group"`
	ItfhwBridge          ItfhwBridge          `json:"itfhw_bridge"`
	ItfhwEthernet        ItfhwEthernet        `json:"itfhw_ethernet"`
	ItfhwGroup           ItfhwGroup           `json:"itfhw_group"`
	ItfhwLag             ItfhwLag             `json:"itfhw_lag"`
	ItfhwRedClient       ItfhwRedClient       `json:"itfhw_red_client"`
	ItfhwRedServer       ItfhwRedServer       `json:"itfhw_red_server"`
	ItfhwSerial          ItfhwSerial          `json:"itfhw_serial"`
	ItfhwUsbserial       ItfhwUsbserial       `json:"itfhw_usbserial"`
	ItfhwVirtual         ItfhwVirtual         `json:"itfhw_virtual"`
}

Itfhw is a generated struct representing the Sophos Itfhw Endpoint GET /api/nodes/itfhw

func (Itfhw) ApiRoutes

func (Itfhw) ApiRoutes() []string

ApiRoutes returns all known Itfhw Paths

func (Itfhw) Definition

func (Itfhw) Definition() sophos.Definition

Definition returns the /api/definitions struct of Itfhw

func (*Itfhw) GetPath

func (*Itfhw) GetPath() string

GetPath implements sophos.RestGetter

func (*Itfhw) RefRequired

func (*Itfhw) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Itfhw) References

func (Itfhw) References() []string

References returns the Itfhw's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Itfhw) RestObjects

func (Itfhw) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Itfhw's Objects

type ItfhwAweNetwork

type ItfhwAweNetwork struct {
	Locked            string        `json:"_locked"`
	Reference         string        `json:"_ref"`
	ObjectType        string        `json:"_type"`
	ApBridgemode      string        `json:"ap_bridgemode"`
	Bridge            string        `json:"bridge"`
	ClientIsolation   bool          `json:"client_isolation"`
	Comment           string        `json:"comment"`
	CryptoAlg         string        `json:"crypto_alg"`
	Description       string        `json:"description"`
	Dot11r            bool          `json:"dot11r"`
	DynamicVlan       int64         `json:"dynamic_vlan"`
	EncryptionMode    string        `json:"encryption_mode"`
	FreqBands         string        `json:"freq_bands"`
	Hardware          string        `json:"hardware"`
	HideSsid          bool          `json:"hide_ssid"`
	InterfaceName     string        `json:"interface_name"`
	Mac               string        `json:"mac"`
	MacFilter         string        `json:"mac_filter"`
	MacList           string        `json:"mac_list"`
	MeshID            string        `json:"mesh_id"`
	MeshMode          string        `json:"mesh_mode"`
	MeshSubtag        string        `json:"mesh_subtag"`
	Name              string        `json:"name"`
	NetworkMode       string        `json:"network_mode"`
	NetworkName       string        `json:"network_name"`
	Psk               string        `json:"psk"`
	R0khSecret        string        `json:"r0kh_secret"`
	Ssid              string        `json:"ssid"`
	SsidVlantag       interface{}   `json:"ssid_vlantag"`
	Status            bool          `json:"status"`
	TimeScheduling    bool          `json:"time_scheduling"`
	TimeSelect        []interface{} `json:"time_select"`
	Uapsd             bool          `json:"uapsd"`
	Utf8Ssid          bool          `json:"utf8_ssid"`
	Vlantag           string        `json:"vlantag"`
	Wep128            string        `json:"wep128"`
	WepAuthentication string        `json:"wep_authentication"`
}

ItfhwAweNetwork is a generated Sophos object

func (*ItfhwAweNetwork) DeletePath

func (*ItfhwAweNetwork) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwAweNetwork DELETE path Creates or updates the complete object awe_network

func (*ItfhwAweNetwork) GetPath

func (i *ItfhwAweNetwork) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworks GET path Returns all available awe_network types

func (*ItfhwAweNetwork) GetType

func (i *ItfhwAweNetwork) GetType() string

GetType implements sophos.Object

func (*ItfhwAweNetwork) PatchPath

func (*ItfhwAweNetwork) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwAweNetwork PATCH path Changes to parts of the object awe_network types

func (*ItfhwAweNetwork) PostPath

func (*ItfhwAweNetwork) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwAweNetwork POST path Create a new itfhw/awe_network object

func (*ItfhwAweNetwork) PutPath

func (*ItfhwAweNetwork) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwAweNetwork PUT path Creates or updates the complete object awe_network

func (*ItfhwAweNetwork) RefRequired

func (i *ItfhwAweNetwork) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwAweNetwork) UsedByPath

func (*ItfhwAweNetwork) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwAweNetworkGroup

type ItfhwAweNetworkGroup struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	ApVlantag  int           `json:"ap_vlantag"`
	Comment    string        `json:"comment"`
	Members    []interface{} `json:"members"`
	Name       string        `json:"name"`
	// Status default value is false
	Status bool `json:"status"`
	// Vlantagging default value is false
	Vlantagging bool `json:"vlantagging"`
}

ItfhwAweNetworkGroup represents a UTM wireless access point group

func (*ItfhwAweNetworkGroup) DeletePath

func (*ItfhwAweNetworkGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwAweNetworkGroup DELETE path Creates or updates the complete object awe_network_group

func (*ItfhwAweNetworkGroup) GetPath

func (i *ItfhwAweNetworkGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworkGroups GET path Returns all available awe_network_group types

func (*ItfhwAweNetworkGroup) PatchPath

func (*ItfhwAweNetworkGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup PATCH path Changes to parts of the object awe_network_group types

func (*ItfhwAweNetworkGroup) PostPath

func (*ItfhwAweNetworkGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup POST path Create a new itfhw/awe_network_group object

func (*ItfhwAweNetworkGroup) PutPath

func (*ItfhwAweNetworkGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup PUT path Creates or updates the complete object awe_network_group

func (*ItfhwAweNetworkGroup) RefRequired

func (i *ItfhwAweNetworkGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwAweNetworkGroup) UsedByPath

func (*ItfhwAweNetworkGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwAweNetworkGroups added in v0.1.1

type ItfhwAweNetworkGroups []ItfhwAweNetworkGroup

ItfhwAweNetworkGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwAweNetworkGroups) GetPath added in v0.1.1

func (*ItfhwAweNetworkGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworkGroups GET path Returns all available itfhw/awe_network_group objects

func (*ItfhwAweNetworkGroups) RefRequired added in v0.1.1

func (*ItfhwAweNetworkGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwAweNetworks

type ItfhwAweNetworks []ItfhwAweNetwork

ItfhwAweNetworks is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwAweNetworks) GetPath

func (*ItfhwAweNetworks) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworks GET path Returns all available itfhw/awe_network objects

func (*ItfhwAweNetworks) RefRequired

func (*ItfhwAweNetworks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwBridge

type ItfhwBridge struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Mac description: (MACADDR)
	// Mac default value is "00:00:00:00:00:00"
	Mac     string `json:"mac"`
	Name    string `json:"name"`
	Comment string `json:"comment"`
	// Description default value is "Bridge"
	Description string `json:"description"`
	// Hardware description: (REGEX)
	Hardware string `json:"hardware"`
}

ItfhwBridge represents a UTM bridge interface

func (*ItfhwBridge) DeletePath

func (*ItfhwBridge) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwBridge DELETE path Creates or updates the complete object bridge

func (*ItfhwBridge) GetPath

func (i *ItfhwBridge) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwBridges GET path Returns all available bridge types

func (*ItfhwBridge) PatchPath

func (*ItfhwBridge) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwBridge PATCH path Changes to parts of the object bridge types

func (*ItfhwBridge) PostPath

func (*ItfhwBridge) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwBridge POST path Create a new itfhw/bridge object

func (*ItfhwBridge) PutPath

func (*ItfhwBridge) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwBridge PUT path Creates or updates the complete object bridge

func (*ItfhwBridge) RefRequired

func (i *ItfhwBridge) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwBridge) UsedByPath

func (*ItfhwBridge) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwBridges added in v0.1.1

type ItfhwBridges []ItfhwBridge

ItfhwBridges is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwBridges) GetPath added in v0.1.1

func (*ItfhwBridges) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwBridges GET path Returns all available itfhw/bridge objects

func (*ItfhwBridges) RefRequired added in v0.1.1

func (*ItfhwBridges) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwEthernet

type ItfhwEthernet struct {
	Locked                string `json:"_locked"`
	Reference             string `json:"_ref"`
	ObjectType            string `json:"_type"`
	AutoNegotiation       bool   `json:"auto_negotiation"`
	AutoNegotiationStatus bool   `json:"auto_negotiation_status"`
	Comment               string `json:"comment"`
	Description           string `json:"description"`
	Duplex                string `json:"duplex"`
	Hardware              string `json:"hardware"`
	Irq                   int64  `json:"irq"`
	LinkMonitoring        bool   `json:"link_monitoring"`
	Mac                   string `json:"mac"`
	Mii                   bool   `json:"mii"`
	Name                  string `json:"name"`
	Pcidev                string `json:"pcidev"`
	PoeEnabled            bool   `json:"poe_enabled"`
	PoeStatus             string `json:"poe_status"`
	Slot                  string `json:"slot"`
	Speed                 string `json:"speed"`
	SupportedLinkModes    string `json:"supported_link_modes"`
	VirtualMac            string `json:"virtual_mac"`
}

ItfhwEthernet is a generated Sophos object

func (*ItfhwEthernet) DeletePath

func (*ItfhwEthernet) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwEthernet DELETE path Creates or updates the complete object ethernet

func (*ItfhwEthernet) GetPath

func (i *ItfhwEthernet) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwEthernets GET path Returns all available ethernet types

func (*ItfhwEthernet) GetType

func (i *ItfhwEthernet) GetType() string

GetType implements sophos.Object

func (*ItfhwEthernet) PatchPath

func (*ItfhwEthernet) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwEthernet PATCH path Changes to parts of the object ethernet types

func (*ItfhwEthernet) PostPath

func (*ItfhwEthernet) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwEthernet POST path Create a new itfhw/ethernet object

func (*ItfhwEthernet) PutPath

func (*ItfhwEthernet) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwEthernet PUT path Creates or updates the complete object ethernet

func (*ItfhwEthernet) RefRequired

func (i *ItfhwEthernet) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwEthernet) UsedByPath

func (*ItfhwEthernet) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwEthernets

type ItfhwEthernets []ItfhwEthernet

ItfhwEthernets is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwEthernets) GetPath

func (*ItfhwEthernets) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwEthernets GET path Returns all available itfhw/ethernet objects

func (*ItfhwEthernets) RefRequired

func (*ItfhwEthernets) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwGroup

type ItfhwGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ItfhwGroup represents a UTM group

func (*ItfhwGroup) DeletePath

func (*ItfhwGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwGroup DELETE path Creates or updates the complete object group

func (*ItfhwGroup) GetPath

func (i *ItfhwGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwGroups GET path Returns all available group types

func (*ItfhwGroup) PatchPath

func (*ItfhwGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwGroup PATCH path Changes to parts of the object group types

func (*ItfhwGroup) PostPath

func (*ItfhwGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwGroup POST path Create a new itfhw/group object

func (*ItfhwGroup) PutPath

func (*ItfhwGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwGroup PUT path Creates or updates the complete object group

func (*ItfhwGroup) RefRequired

func (i *ItfhwGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwGroup) UsedByPath

func (*ItfhwGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwGroups added in v0.1.1

type ItfhwGroups []ItfhwGroup

ItfhwGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwGroups) GetPath added in v0.1.1

func (*ItfhwGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwGroups GET path Returns all available itfhw/group objects

func (*ItfhwGroups) RefRequired added in v0.1.1

func (*ItfhwGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwLag

type ItfhwLag struct {
	Locked         string `json:"_locked"`
	Reference      string `json:"_ref"`
	ObjectType     string `json:"_type"`
	Comment        string `json:"comment"`
	Description    string `json:"description"`
	Hardware       string `json:"hardware"`
	LinkMonitoring bool   `json:"link_monitoring"`
	Mac            string `json:"mac"`
	Name           string `json:"name"`
}

ItfhwLag is a generated Sophos object

func (*ItfhwLag) DeletePath

func (*ItfhwLag) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwLag DELETE path Creates or updates the complete object lag

func (*ItfhwLag) GetPath

func (i *ItfhwLag) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwLags GET path Returns all available lag types

func (*ItfhwLag) GetType

func (i *ItfhwLag) GetType() string

GetType implements sophos.Object

func (*ItfhwLag) PatchPath

func (*ItfhwLag) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwLag PATCH path Changes to parts of the object lag types

func (*ItfhwLag) PostPath

func (*ItfhwLag) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwLag POST path Create a new itfhw/lag object

func (*ItfhwLag) PutPath

func (*ItfhwLag) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwLag PUT path Creates or updates the complete object lag

func (*ItfhwLag) RefRequired

func (i *ItfhwLag) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwLag) UsedByPath

func (*ItfhwLag) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwLags

type ItfhwLags []ItfhwLag

ItfhwLags is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwLags) GetPath

func (*ItfhwLags) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwLags GET path Returns all available itfhw/lag objects

func (*ItfhwLags) RefRequired

func (*ItfhwLags) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwRedClient

type ItfhwRedClient struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	LocalKey   string `json:"local_key"`
	// Mac description: (MACADDR)
	// Mac default value is "00:00:00:00:00:00"
	Mac string `json:"mac"`
	// Status default value is false
	Status   bool   `json:"status"`
	TunnelId int    `json:"tunnel_id"`
	Comment  string `json:"comment"`
	// HubHost description: REF(network/host), REF(network/dns_host)
	HubHost   string `json:"hub_host"`
	LocalCert string `json:"local_cert"`
	Name      string `json:"name"`
	// TunnelCompression default value is false
	TunnelCompression bool `json:"tunnel_compression"`
	// TunnelCompressionAlgorithm can be one of: []string{"deflate", "lzo", "gzip"}
	// TunnelCompressionAlgorithm default value is "lzo"
	TunnelCompressionAlgorithm string `json:"tunnel_compression_algorithm"`
	// Description default value is "Remote Ethernet Client Device"
	Description string `json:"description"`
	// Hardware description: (REGEX)
	Hardware string `json:"hardware"`
	HubCa    string `json:"hub_ca"`
}

ItfhwRedClient represents a UTM RED client interface

func (*ItfhwRedClient) DeletePath

func (*ItfhwRedClient) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwRedClient DELETE path Creates or updates the complete object red_client

func (*ItfhwRedClient) GetPath

func (i *ItfhwRedClient) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwRedClients GET path Returns all available red_client types

func (*ItfhwRedClient) PatchPath

func (*ItfhwRedClient) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwRedClient PATCH path Changes to parts of the object red_client types

func (*ItfhwRedClient) PostPath

func (*ItfhwRedClient) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwRedClient POST path Create a new itfhw/red_client object

func (*ItfhwRedClient) PutPath

func (*ItfhwRedClient) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwRedClient PUT path Creates or updates the complete object red_client

func (*ItfhwRedClient) RefRequired

func (i *ItfhwRedClient) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwRedClient) UsedByPath

func (*ItfhwRedClient) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwRedClients added in v0.1.1

type ItfhwRedClients []ItfhwRedClient

ItfhwRedClients is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwRedClients) GetPath added in v0.1.1

func (*ItfhwRedClients) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwRedClients GET path Returns all available itfhw/red_client objects

func (*ItfhwRedClients) RefRequired added in v0.1.1

func (*ItfhwRedClients) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwRedServer

type ItfhwRedServer struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// PrevUnlockCode default value is ""
	PrevUnlockCode string `json:"prev_unlock_code"`
	// RouteMode can be one of: []string{"default", "split", "fullbr"}
	// RouteMode default value is "default"
	RouteMode string `json:"route_mode"`
	// Password default value is ""
	Password string `json:"password"`
	// ActivateModem default value is false
	ActivateModem bool `json:"activate_modem"`
	// BridgeAddress description: (IPADDR)
	// BridgeAddress default value is "0.0.0.0"
	BridgeAddress string `json:"bridge_address"`
	// FailoverDirect default value is true
	FailoverDirect bool `json:"failover_direct"`
	// Lan1Vids default value is ""
	Lan1Vids string `json:"lan1_vids"`
	// Lan3Vids default value is ""
	Lan3Vids       string `json:"lan3_vids"`
	Manual2Netmask int    `json:"manual2_netmask"`
	// ManualDns description: (IPADDR)
	// ManualDns default value is "0.0.0.0"
	ManualDns string `json:"manual_dns"`
	// RemoteCert description: REF(ca/host_key_cert)
	// RemoteCert default value is ""
	RemoteCert            string        `json:"remote_cert"`
	FullbrDomains         []interface{} `json:"fullbr_domains"`
	LocalNetworks         []interface{} `json:"local_networks"`
	MacFilterEntriesRed15 int           `json:"mac_filter_entries_red15"`
	MacFilterEntriesRed50 int           `json:"mac_filter_entries_red50"`
	ManualNetmask         int           `json:"manual_netmask"`
	// Status default value is false
	Status bool `json:"status"`
	// TunnelState default value is false
	TunnelState bool `json:"tunnel_state"`
	// BridgeProto can be one of: []string{"dhcp", "static", "none"}
	// BridgeProto default value is "none"
	BridgeProto string `json:"bridge_proto"`
	// Manual2Defgw description: (IPADDR)
	// Manual2Defgw default value is "0.0.0.0"
	Manual2Defgw string `json:"manual2_defgw"`
	// ManualDefgw description: (IPADDR)
	// ManualDefgw default value is "0.0.0.0"
	ManualDefgw string `json:"manual_defgw"`
	Pin         int    `json:"pin"`
	// TunnelCompressionAlgorithm can be one of: []string{"deflate", "lzo", "gzip"}
	// TunnelCompressionAlgorithm default value is "lzo"
	TunnelCompressionAlgorithm string `json:"tunnel_compression_algorithm"`
	// Type can be one of: []string{"red", "red15", "red15w", "red50", "asg", "software"}
	// Type default value is "asg"
	Type    string `json:"type"`
	Comment string `json:"comment"`
	// FastFailover default value is false
	FastFailover bool `json:"fast_failover"`
	// Lan1Mode can be one of: []string{"tagged", "untagged", "untagged_drop_tagged", "unused"}
	// Lan1Mode default value is "unused"
	Lan1Mode               string `json:"lan1_mode"`
	MacFilterEntriesRed15W int    `json:"mac_filter_entries_red15w"`
	// Manual2Dns description: (IPADDR)
	// Manual2Dns default value is "0.0.0.0"
	Manual2Dns string `json:"manual2_dns"`
	Name       string `json:"name"`
	// PinAsString description: (REGEX)
	// PinAsString default value is ""
	PinAsString string `json:"pin_as_string"`
	// Username default value is ""
	Username string `json:"username"`
	// Authorized default value is false
	Authorized bool `json:"authorized"`
	// Description default value is "Remote Ethernet Server Device"
	Description string `json:"description"`
	// Hub2Hostname default value is ""
	Hub2Hostname string `json:"hub2_hostname"`
	// MobileNetwork can be one of: []string{"gsm", "cdma"}
	// MobileNetwork default value is "gsm"
	MobileNetwork string `json:"mobile_network"`
	// State can be one of: []string{"initializing", "runnable", "notbound"}
	// State default value is "initializing"
	State string `json:"state"`
	// DeploymentMode can be one of: []string{"online", "offline"}
	// DeploymentMode default value is "online"
	DeploymentMode string `json:"deployment_mode"`
	// Lan3Mode can be one of: []string{"tagged", "untagged", "untagged_drop_tagged", "unused"}
	// Lan3Mode default value is "unused"
	Lan3Mode string `json:"lan3_mode"`
	// LocalNetworksTarget description: REF(network/host), REF(network/dns_host), REF(network/interface_address)
	// LocalNetworksTarget default value is ""
	LocalNetworksTarget string `json:"local_networks_target"`
	// Manual2Address description: (IPADDR)
	// Manual2Address default value is "0.0.0.0"
	Manual2Address string `json:"manual2_address"`
	RedId          string `json:"red_id"`
	// Uplink2Mode can be one of: []string{"dhcp", "manual"}
	// Uplink2Mode default value is "dhcp"
	Uplink2Mode string `json:"uplink2_mode"`
	// Hardware description: (REGEX)
	Hardware string `json:"hardware"`
	// Lan4Mode can be one of: []string{"tagged", "untagged", "untagged_drop_tagged", "unused"}
	// Lan4Mode default value is "unused"
	Lan4Mode string `json:"lan4_mode"`
	// UplinkMode can be one of: []string{"dhcp", "manual"}
	// UplinkMode default value is "dhcp"
	UplinkMode string `json:"uplink_mode"`
	// Apn default value is ""
	Apn           string `json:"apn"`
	BridgeNetmask int    `json:"bridge_netmask"`
	// DialString default value is "*99#"
	DialString string `json:"dial_string"`
	// Lan2Vids default value is ""
	Lan2Vids string `json:"lan2_vids"`
	// LanportMode can be one of: []string{"switch", "vlan"}
	// LanportMode default value is "switch"
	LanportMode string `json:"lanport_mode"`
	// MacFilterType can be one of: []string{"none", "whitelist", "blacklist"}
	// MacFilterType default value is "none"
	MacFilterType string `json:"mac_filter_type"`
	// ManualAddress description: (IPADDR)
	// ManualAddress default value is "0.0.0.0"
	ManualAddress string `json:"manual_address"`
	DebugLevel    int    `json:"debug_level"`
	// HubHostname default value is ""
	HubHostname string `json:"hub_hostname"`
	// Lan4Vids default value is ""
	Lan4Vids string `json:"lan4_vids"`
	// Mac description: (MACADDR)
	// Mac default value is "00:00:00:00:00:00"
	Mac           string        `json:"mac"`
	SplitNetworks []interface{} `json:"split_networks"`
	TunnelId      int           `json:"tunnel_id"`
	// FullbrDns description: REF(network/host), REF(network/dns_host), REF(network/interface_address)
	// FullbrDns default value is ""
	FullbrDns string `json:"fullbr_dns"`
	// HostnameBalancing can be one of: []string{"balance", "failover"}
	// HostnameBalancing default value is "failover"
	HostnameBalancing string `json:"hostname_balancing"`
	// Lan2Mode can be one of: []string{"tagged", "untagged", "untagged_drop_tagged", "unused"}
	// Lan2Mode default value is "unused"
	Lan2Mode string `json:"lan2_mode"`
	// MacFilterList description: REF(mac_list/*)
	// MacFilterList default value is ""
	MacFilterList string `json:"mac_filter_list"`
	// UnlockCode default value is ""
	UnlockCode string `json:"unlock_code"`
	// UplinkBalancing can be one of: []string{"balance", "failover"}
	// UplinkBalancing default value is "failover"
	UplinkBalancing       string `json:"uplink_balancing"`
	MacFilterEntriesRed10 int    `json:"mac_filter_entries_red10"`
	// TunnelCompression default value is false
	TunnelCompression bool `json:"tunnel_compression"`
	// UmtsState can be one of: []string{"READY", "PIN", "PUK"}
	// UmtsState default value is "READY"
	UmtsState string `json:"umts_state"`
}

ItfhwRedServer represents a UTM RED server interface

func (*ItfhwRedServer) DeletePath

func (*ItfhwRedServer) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwRedServer DELETE path Creates or updates the complete object red_server

func (*ItfhwRedServer) GetPath

func (i *ItfhwRedServer) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwRedServers GET path Returns all available red_server types

func (*ItfhwRedServer) PatchPath

func (*ItfhwRedServer) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwRedServer PATCH path Changes to parts of the object red_server types

func (*ItfhwRedServer) PostPath

func (*ItfhwRedServer) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwRedServer POST path Create a new itfhw/red_server object

func (*ItfhwRedServer) PutPath

func (*ItfhwRedServer) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwRedServer PUT path Creates or updates the complete object red_server

func (*ItfhwRedServer) RefRequired

func (i *ItfhwRedServer) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwRedServer) UsedByPath

func (*ItfhwRedServer) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwRedServers added in v0.1.1

type ItfhwRedServers []ItfhwRedServer

ItfhwRedServers is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwRedServers) GetPath added in v0.1.1

func (*ItfhwRedServers) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwRedServers GET path Returns all available itfhw/red_server objects

func (*ItfhwRedServers) RefRequired added in v0.1.1

func (*ItfhwRedServers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwSerial

type ItfhwSerial struct {
	Locked      string `json:"_locked"`
	ObjectType  string `json:"_type"`
	Reference   string `json:"_ref"`
	Description string `json:"description"`
	// Hardware description: (REGEX)
	Hardware string `json:"hardware"`
	Irq      int    `json:"irq"`
	Name     string `json:"name"`
	Port     string `json:"port"`
	// Baud default value is ""
	Baud    string `json:"baud"`
	Comment string `json:"comment"`
}

ItfhwSerial represents a UTM serial interface

func (*ItfhwSerial) DeletePath

func (*ItfhwSerial) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwSerial DELETE path Creates or updates the complete object serial

func (*ItfhwSerial) GetPath

func (i *ItfhwSerial) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwSerials GET path Returns all available serial types

func (*ItfhwSerial) PatchPath

func (*ItfhwSerial) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwSerial PATCH path Changes to parts of the object serial types

func (*ItfhwSerial) PostPath

func (*ItfhwSerial) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwSerial POST path Create a new itfhw/serial object

func (*ItfhwSerial) PutPath

func (*ItfhwSerial) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwSerial PUT path Creates or updates the complete object serial

func (*ItfhwSerial) RefRequired

func (i *ItfhwSerial) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwSerial) UsedByPath

func (*ItfhwSerial) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwSerials added in v0.1.1

type ItfhwSerials []ItfhwSerial

ItfhwSerials is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwSerials) GetPath added in v0.1.1

func (*ItfhwSerials) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwSerials GET path Returns all available itfhw/serial objects

func (*ItfhwSerials) RefRequired added in v0.1.1

func (*ItfhwSerials) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwUsbserial

type ItfhwUsbserial struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	// Product default value is ""
	Product string `json:"product"`
	// Vendor default value is ""
	Vendor  string `json:"vendor"`
	Comment string `json:"comment"`
	// Control description: (REGEX)
	// Control default value is ""
	Control     string `json:"control"`
	Description string `json:"description"`
	// Hardware description: (REGEX)
	Hardware string `json:"hardware"`
}

ItfhwUsbserial represents a UTM USB serial interface

func (*ItfhwUsbserial) DeletePath

func (*ItfhwUsbserial) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwUsbserial DELETE path Creates or updates the complete object usbserial

func (*ItfhwUsbserial) GetPath

func (i *ItfhwUsbserial) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwUsbserials GET path Returns all available usbserial types

func (*ItfhwUsbserial) PatchPath

func (*ItfhwUsbserial) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwUsbserial PATCH path Changes to parts of the object usbserial types

func (*ItfhwUsbserial) PostPath

func (*ItfhwUsbserial) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwUsbserial POST path Create a new itfhw/usbserial object

func (*ItfhwUsbserial) PutPath

func (*ItfhwUsbserial) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwUsbserial PUT path Creates or updates the complete object usbserial

func (*ItfhwUsbserial) RefRequired

func (i *ItfhwUsbserial) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwUsbserial) UsedByPath

func (*ItfhwUsbserial) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwUsbserials added in v0.1.1

type ItfhwUsbserials []ItfhwUsbserial

ItfhwUsbserials is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwUsbserials) GetPath added in v0.1.1

func (*ItfhwUsbserials) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwUsbserials GET path Returns all available itfhw/usbserial objects

func (*ItfhwUsbserials) RefRequired added in v0.1.1

func (*ItfhwUsbserials) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwVirtual

type ItfhwVirtual struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
	// Description default value is "IPv6 Tunnel"
	Description string `json:"description"`
	// Hardware can be one of: []string{"6to4", "aiccu", "tspc", "teredo", "he.net"}
	// Hardware default value is "teredo"
	Hardware string `json:"hardware"`
}

ItfhwVirtual represents a UTM virtual interface

func (*ItfhwVirtual) DeletePath

func (*ItfhwVirtual) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwVirtual DELETE path Creates or updates the complete object virtual

func (*ItfhwVirtual) GetPath

func (i *ItfhwVirtual) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwVirtuals GET path Returns all available virtual types

func (*ItfhwVirtual) PatchPath

func (*ItfhwVirtual) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwVirtual PATCH path Changes to parts of the object virtual types

func (*ItfhwVirtual) PostPath

func (*ItfhwVirtual) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwVirtual POST path Create a new itfhw/virtual object

func (*ItfhwVirtual) PutPath

func (*ItfhwVirtual) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwVirtual PUT path Creates or updates the complete object virtual

func (*ItfhwVirtual) RefRequired

func (i *ItfhwVirtual) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwVirtual) UsedByPath

func (*ItfhwVirtual) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwVirtuals added in v0.1.1

type ItfhwVirtuals []ItfhwVirtual

ItfhwVirtuals is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwVirtuals) GetPath added in v0.1.1

func (*ItfhwVirtuals) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwVirtuals GET path Returns all available itfhw/virtual objects

func (*ItfhwVirtuals) RefRequired added in v0.1.1

func (*ItfhwVirtuals) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Itfparams

type Itfparams struct {
	ItfparamsBridgePort           ItfparamsBridgePort           `json:"itfparams_bridge_port"`
	ItfparamsGroup                ItfparamsGroup                `json:"itfparams_group"`
	ItfparamsLinkAggregationGroup ItfparamsLinkAggregationGroup `json:"itfparams_link_aggregation_group"`
	ItfparamsPrimary              ItfparamsPrimary              `json:"itfparams_primary"`
	ItfparamsSecondary            ItfparamsSecondary            `json:"itfparams_secondary"`
}

Itfparams is a generated struct representing the Sophos Itfparams Endpoint GET /api/nodes/itfparams

func (Itfparams) ApiRoutes

func (Itfparams) ApiRoutes() []string

ApiRoutes returns all known Itfparams Paths

func (Itfparams) Definition

func (Itfparams) Definition() sophos.Definition

Definition returns the /api/definitions struct of Itfparams

func (*Itfparams) GetPath

func (*Itfparams) GetPath() string

GetPath implements sophos.RestGetter

func (*Itfparams) RefRequired

func (*Itfparams) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Itfparams) References

func (Itfparams) References() []string

References returns the Itfparams's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Itfparams) RestObjects

func (Itfparams) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Itfparams's Objects

type ItfparamsBridgePort

type ItfparamsBridgePort struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Itfhw description: REF(itfhw/ethernet), REF(itfhw/red_server), REF(itfhw/red_client), REF(itfhw/awe_network), REF(itfhw/lag)
	Itfhw string `json:"itfhw"`
	Name  string `json:"name"`
	// Status default value is true
	Status      bool `json:"status"`
	StpPathcost int  `json:"stp_pathcost"`
	StpPortprio int  `json:"stp_portprio"`
}

ItfparamsBridgePort represents a UTM bridge port

func (*ItfparamsBridgePort) DeletePath

func (*ItfparamsBridgePort) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsBridgePort DELETE path Creates or updates the complete object bridge_port

func (*ItfparamsBridgePort) GetPath

func (i *ItfparamsBridgePort) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsBridgePorts GET path Returns all available bridge_port types

func (*ItfparamsBridgePort) PatchPath

func (*ItfparamsBridgePort) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsBridgePort PATCH path Changes to parts of the object bridge_port types

func (*ItfparamsBridgePort) PostPath

func (*ItfparamsBridgePort) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsBridgePort POST path Create a new itfparams/bridge_port object

func (*ItfparamsBridgePort) PutPath

func (*ItfparamsBridgePort) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsBridgePort PUT path Creates or updates the complete object bridge_port

func (*ItfparamsBridgePort) RefRequired

func (i *ItfparamsBridgePort) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsBridgePort) UsedByPath

func (*ItfparamsBridgePort) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsBridgePorts added in v0.1.1

type ItfparamsBridgePorts []ItfparamsBridgePort

ItfparamsBridgePorts is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsBridgePorts) GetPath added in v0.1.1

func (*ItfparamsBridgePorts) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsBridgePorts GET path Returns all available itfparams/bridge_port objects

func (*ItfparamsBridgePorts) RefRequired added in v0.1.1

func (*ItfparamsBridgePorts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfparamsGroup

type ItfparamsGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ItfparamsGroup represents a UTM group

func (*ItfparamsGroup) DeletePath

func (*ItfparamsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsGroup DELETE path Creates or updates the complete object group

func (*ItfparamsGroup) GetPath

func (i *ItfparamsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsGroups GET path Returns all available group types

func (*ItfparamsGroup) PatchPath

func (*ItfparamsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsGroup PATCH path Changes to parts of the object group types

func (*ItfparamsGroup) PostPath

func (*ItfparamsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsGroup POST path Create a new itfparams/group object

func (*ItfparamsGroup) PutPath

func (*ItfparamsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsGroup PUT path Creates or updates the complete object group

func (*ItfparamsGroup) RefRequired

func (i *ItfparamsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsGroup) UsedByPath

func (*ItfparamsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsGroups added in v0.1.1

type ItfparamsGroups []ItfparamsGroup

ItfparamsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsGroups) GetPath added in v0.1.1

func (*ItfparamsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsGroups GET path Returns all available itfparams/group objects

func (*ItfparamsGroups) RefRequired added in v0.1.1

func (*ItfparamsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfparamsLinkAggregationGroup

type ItfparamsLinkAggregationGroup struct {
	Locked         string   `json:"_locked"`
	Reference      string   `json:"_ref"`
	ObjectType     string   `json:"_type"`
	AdSelect       int64    `json:"ad_select"`
	ArpInterval    int64    `json:"arp_interval"`
	ArpIPTarget    string   `json:"arp_ip_target"`
	Comment        string   `json:"comment"`
	Downdelay      int64    `json:"downdelay"`
	EnforceMac     bool     `json:"enforce_mac"`
	ID             int64    `json:"id"`
	Itfhw          []string `json:"itfhw"`
	LacpRate       int64    `json:"lacp_rate"`
	Mac            string   `json:"mac"`
	Miimon         int64    `json:"miimon"`
	Mode           int64    `json:"mode"`
	Name           string   `json:"name"`
	Primary        string   `json:"primary"`
	Status         bool     `json:"status"`
	Updelay        int64    `json:"updelay"`
	UseCarrier     bool     `json:"use_carrier"`
	VirtualMac     string   `json:"virtual_mac"`
	XmitHashPolicy string   `json:"xmit_hash_policy"`
}

ItfparamsLinkAggregationGroup is a generated Sophos object

func (*ItfparamsLinkAggregationGroup) DeletePath

func (*ItfparamsLinkAggregationGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup DELETE path Creates or updates the complete object link_aggregation_group

func (*ItfparamsLinkAggregationGroup) GetPath

GetPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroups GET path Returns all available link_aggregation_group types

func (*ItfparamsLinkAggregationGroup) GetType

GetType implements sophos.Object

func (*ItfparamsLinkAggregationGroup) PatchPath

PatchPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup PATCH path Changes to parts of the object link_aggregation_group types

func (*ItfparamsLinkAggregationGroup) PostPath

PostPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup POST path Create a new itfparams/link_aggregation_group object

func (*ItfparamsLinkAggregationGroup) PutPath

PutPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup PUT path Creates or updates the complete object link_aggregation_group

func (*ItfparamsLinkAggregationGroup) RefRequired

func (i *ItfparamsLinkAggregationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsLinkAggregationGroup) UsedByPath

func (*ItfparamsLinkAggregationGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsLinkAggregationGroups

type ItfparamsLinkAggregationGroups []ItfparamsLinkAggregationGroup

ItfparamsLinkAggregationGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsLinkAggregationGroups) GetPath

GetPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroups GET path Returns all available itfparams/link_aggregation_group objects

func (*ItfparamsLinkAggregationGroups) RefRequired

func (*ItfparamsLinkAggregationGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfparamsPrimary

type ItfparamsPrimary struct {
	Locked                 string `json:"_locked"`
	Reference              string `json:"_ref"`
	ObjectType             string `json:"_type"`
	Address                string `json:"address"`
	Address6               string `json:"address6"`
	Comment                string `json:"comment"`
	DefaultGatewayAddress  string `json:"default_gateway_address"`
	DefaultGatewayAddress6 string `json:"default_gateway_address6"`
	DefaultGatewayStatus   bool   `json:"default_gateway_status"`
	DefaultGatewayStatus6  bool   `json:"default_gateway_status6"`
	Dhcpv6RapidCommit      bool   `json:"dhcpv6_rapid_commit"`
	DNSServer1             string `json:"dns_server_1"`
	DNSServer2             string `json:"dns_server_2"`
	DNSServer3             string `json:"dns_server_3"`
	DNSServer4             string `json:"dns_server_4"`
	GatewayType            string `json:"gateway_type"`
	GatewayType6           string `json:"gateway_type6"`
	Hostname               string `json:"hostname"`
	InterfaceAddress       string `json:"interface_address"`
	InterfaceBroadcast     string `json:"interface_broadcast"`
	InterfaceNetwork       string `json:"interface_network"`
	Name                   string `json:"name"`
	Netmask                int64  `json:"netmask"`
	Netmask6               int64  `json:"netmask6"`
	PdAddress6             string `json:"pd_address6"`
	PdNetmask6             int64  `json:"pd_netmask6"`
	PdResolved6            bool   `json:"pd_resolved6"`
	Resolved               bool   `json:"resolved"`
	Resolved6              bool   `json:"resolved6"`
	Six2four               bool   `json:"six2four"`
	Type                   string `json:"type"`
	Type6                  string `json:"type6"`
}

ItfparamsPrimary is a generated Sophos object

func (*ItfparamsPrimary) DeletePath

func (*ItfparamsPrimary) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsPrimary DELETE path Creates or updates the complete object primary

func (*ItfparamsPrimary) GetPath

func (i *ItfparamsPrimary) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsPrimarys GET path Returns all available primary types

func (*ItfparamsPrimary) GetType

func (i *ItfparamsPrimary) GetType() string

GetType implements sophos.Object

func (*ItfparamsPrimary) PatchPath

func (*ItfparamsPrimary) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsPrimary PATCH path Changes to parts of the object primary types

func (*ItfparamsPrimary) PostPath

func (*ItfparamsPrimary) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsPrimary POST path Create a new itfparams/primary object

func (*ItfparamsPrimary) PutPath

func (*ItfparamsPrimary) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsPrimary PUT path Creates or updates the complete object primary

func (*ItfparamsPrimary) RefRequired

func (i *ItfparamsPrimary) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsPrimary) UsedByPath

func (*ItfparamsPrimary) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsPrimarys

type ItfparamsPrimarys []ItfparamsPrimary

ItfparamsPrimarys is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsPrimarys) GetPath

func (*ItfparamsPrimarys) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsPrimarys GET path Returns all available itfparams/primary objects

func (*ItfparamsPrimarys) RefRequired

func (*ItfparamsPrimarys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfparamsSecondary

type ItfparamsSecondary struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Address6 description: (IP6ADDR)
	// Address6 default value is ""
	Address6 string `json:"address6"`
	Comment  string `json:"comment"`
	// Id default value is ""
	Id       string `json:"id"`
	Netmask  int    `json:"netmask"`
	Netmask6 int    `json:"netmask6"`
	// Resolved6 default value is false
	Resolved6 bool `json:"resolved6"`
	// Type6 can be one of: []string{"static"}
	// Type6 default value is "static"
	Type6 string `json:"type6"`
	// InterfaceAddress description: REF(network/interface_address)
	// InterfaceAddress default value is ""
	InterfaceAddress string `json:"interface_address"`
	Name             string `json:"name"`
	HaNode           int    `json:"ha_node"`
	// Resolved default value is false
	Resolved bool `json:"resolved"`
	// Address description: (IPADDR)
	// Address default value is "0.0.0.0"
	Address string `json:"address"`
	// InterfaceBroadcast description: REF(network/interface_broadcast)
	// InterfaceBroadcast default value is ""
	InterfaceBroadcast string `json:"interface_broadcast"`
	// InterfaceNetwork description: REF(network/interface_network)
	// InterfaceNetwork default value is ""
	InterfaceNetwork string `json:"interface_network"`
	// Status default value is false
	Status bool `json:"status"`
	// Type can be one of: []string{"static"}
	// Type default value is "static"
	Type string `json:"type"`
}

ItfparamsSecondary represents a UTM additional interface address

func (*ItfparamsSecondary) DeletePath

func (*ItfparamsSecondary) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsSecondary DELETE path Creates or updates the complete object secondary

func (*ItfparamsSecondary) GetPath

func (i *ItfparamsSecondary) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsSecondarys GET path Returns all available secondary types

func (*ItfparamsSecondary) PatchPath

func (*ItfparamsSecondary) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsSecondary PATCH path Changes to parts of the object secondary types

func (*ItfparamsSecondary) PostPath

func (*ItfparamsSecondary) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsSecondary POST path Create a new itfparams/secondary object

func (*ItfparamsSecondary) PutPath

func (*ItfparamsSecondary) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsSecondary PUT path Creates or updates the complete object secondary

func (*ItfparamsSecondary) RefRequired

func (i *ItfparamsSecondary) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsSecondary) UsedByPath

func (*ItfparamsSecondary) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsSecondarys added in v0.1.1

type ItfparamsSecondarys []ItfparamsSecondary

ItfparamsSecondarys is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsSecondarys) GetPath added in v0.1.1

func (*ItfparamsSecondarys) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsSecondarys GET path Returns all available itfparams/secondary objects

func (*ItfparamsSecondarys) RefRequired added in v0.1.1

func (*ItfparamsSecondarys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type MacList

type MacList struct {
	MacListGroup   MacListGroup   `json:"mac_list_group"`
	MacListMacList MacListMacList `json:"mac_list_mac_list"`
}

MacList is a generated struct representing the Sophos MacList Endpoint GET /api/nodes/mac_list

func (MacList) ApiRoutes

func (MacList) ApiRoutes() []string

ApiRoutes returns all known MacList Paths

func (MacList) Definition

func (MacList) Definition() sophos.Definition

Definition returns the /api/definitions struct of MacList

func (*MacList) GetPath

func (*MacList) GetPath() string

GetPath implements sophos.RestGetter

func (*MacList) RefRequired

func (*MacList) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (MacList) References

func (MacList) References() []string

References returns the MacList's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (MacList) RestObjects

func (MacList) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of MacList's Objects

type MacListGroup

type MacListGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

MacListGroup represents a UTM group

func (*MacListGroup) DeletePath

func (*MacListGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the MacListGroup DELETE path Creates or updates the complete object group

func (*MacListGroup) GetPath

func (m *MacListGroup) GetPath() string

GetPath implements sophos.RestObject and returns the MacListGroups GET path Returns all available group types

func (*MacListGroup) PatchPath

func (*MacListGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the MacListGroup PATCH path Changes to parts of the object group types

func (*MacListGroup) PostPath

func (*MacListGroup) PostPath() string

PostPath implements sophos.RestObject and returns the MacListGroup POST path Create a new mac_list/group object

func (*MacListGroup) PutPath

func (*MacListGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the MacListGroup PUT path Creates or updates the complete object group

func (*MacListGroup) RefRequired

func (m *MacListGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*MacListGroup) UsedByPath

func (*MacListGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type MacListGroups added in v0.1.1

type MacListGroups []MacListGroup

MacListGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*MacListGroups) GetPath added in v0.1.1

func (*MacListGroups) GetPath() string

GetPath implements sophos.RestObject and returns the MacListGroups GET path Returns all available mac_list/group objects

func (*MacListGroups) RefRequired added in v0.1.1

func (*MacListGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type MacListMacList

type MacListMacList struct {
	Locked      string        `json:"_locked"`
	ObjectType  string        `json:"_type"`
	Reference   string        `json:"_ref"`
	AddressList []interface{} `json:"address_list"`
	Comment     string        `json:"comment"`
	HostList    []interface{} `json:"host_list"`
	Name        string        `json:"name"`
}

MacListMacList represents a UTM MAC address list

func (*MacListMacList) DeletePath

func (*MacListMacList) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the MacListMacList DELETE path Creates or updates the complete object mac_list

func (*MacListMacList) GetPath

func (m *MacListMacList) GetPath() string

GetPath implements sophos.RestObject and returns the MacListMacLists GET path Returns all available mac_list types

func (*MacListMacList) PatchPath

func (*MacListMacList) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the MacListMacList PATCH path Changes to parts of the object mac_list types

func (*MacListMacList) PostPath

func (*MacListMacList) PostPath() string

PostPath implements sophos.RestObject and returns the MacListMacList POST path Create a new mac_list/mac_list object

func (*MacListMacList) PutPath

func (*MacListMacList) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the MacListMacList PUT path Creates or updates the complete object mac_list

func (*MacListMacList) RefRequired

func (m *MacListMacList) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*MacListMacList) UsedByPath

func (*MacListMacList) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type MacListMacLists added in v0.1.1

type MacListMacLists []MacListMacList

MacListMacLists is an Sophos Endpoint subType and implements sophos.RestObject

func (*MacListMacLists) GetPath added in v0.1.1

func (*MacListMacLists) GetPath() string

GetPath implements sophos.RestObject and returns the MacListMacLists GET path Returns all available mac_list/mac_list objects

func (*MacListMacLists) RefRequired added in v0.1.1

func (*MacListMacLists) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Network

type Network struct {
	NetworkAaa                NetworkAaa                `json:"network_aaa"`
	NetworkAny                NetworkAny                `json:"network_any"`
	NetworkAvailabilityGroup  NetworkAvailabilityGroup  `json:"network_availability_group"`
	NetworkDnsGroup           NetworkDnsGroup           `json:"network_dns_group"`
	NetworkDnsHost            NetworkDnsHost            `json:"network_dns_host"`
	NetworkGroup              NetworkGroup              `json:"network_group"`
	NetworkHost               NetworkHost               `json:"network_host"`
	NetworkInterfaceAddress   NetworkInterfaceAddress   `json:"network_interface_address"`
	NetworkInterfaceBroadcast NetworkInterfaceBroadcast `json:"network_interface_broadcast"`
	NetworkInterfaceNetwork   NetworkInterfaceNetwork   `json:"network_interface_network"`
	NetworkMulticast          NetworkMulticast          `json:"network_multicast"`
	NetworkNetwork            NetworkNetwork            `json:"network_network"`
	NetworkRange              NetworkRange              `json:"network_range"`
}

Network is a generated struct representing the Sophos Network Endpoint GET /api/nodes/network

func (Network) ApiRoutes

func (Network) ApiRoutes() []string

ApiRoutes returns all known Network Paths

func (Network) Definition

func (Network) Definition() sophos.Definition

Definition returns the /api/definitions struct of Network

func (*Network) GetPath

func (*Network) GetPath() string

GetPath implements sophos.RestGetter

func (*Network) RefRequired

func (*Network) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Network) References

func (Network) References() []string

References returns the Network's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Network) RestObjects

func (Network) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Network's Objects

type NetworkAaa

type NetworkAaa struct {
	Locked     string        `json:"_locked"`
	Reference  string        `json:"_ref"`
	ObjectType string        `json:"_type"`
	Addresses  []interface{} `json:"addresses"`
	Addresses6 []interface{} `json:"addresses6"`
	Comment    string        `json:"comment"`
	Name       string        `json:"name"`
	Resolved   bool          `json:"resolved"`
	Resolved6  bool          `json:"resolved6"`
}

NetworkAaa is a generated Sophos object

func (*NetworkAaa) DeletePath

func (*NetworkAaa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkAaa DELETE path Creates or updates the complete object aaa

func (*NetworkAaa) GetPath

func (n *NetworkAaa) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAaas GET path Returns all available aaa types

func (*NetworkAaa) GetType

func (n *NetworkAaa) GetType() string

GetType implements sophos.Object

func (*NetworkAaa) PatchPath

func (*NetworkAaa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkAaa PATCH path Changes to parts of the object aaa types

func (*NetworkAaa) PostPath

func (*NetworkAaa) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkAaa POST path Create a new network/aaa object

func (*NetworkAaa) PutPath

func (*NetworkAaa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkAaa PUT path Creates or updates the complete object aaa

func (*NetworkAaa) RefRequired

func (n *NetworkAaa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkAaa) UsedByPath

func (*NetworkAaa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkAaas

type NetworkAaas []NetworkAaa

NetworkAaas is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkAaas) GetPath

func (*NetworkAaas) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAaas GET path Returns all available network/aaa objects

func (*NetworkAaas) RefRequired

func (*NetworkAaas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkAny

type NetworkAny struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Address6   string `json:"address6"`
	Comment    string `json:"comment"`
	Interface  string `json:"interface"`
	Name       string `json:"name"`
	Netmask    int64  `json:"netmask"`
	Netmask6   int64  `json:"netmask6"`
	Resolved   bool   `json:"resolved"`
	Resolved6  bool   `json:"resolved6"`
}

NetworkAny is a generated Sophos object

func (*NetworkAny) DeletePath

func (*NetworkAny) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkAny DELETE path Creates or updates the complete object any

func (*NetworkAny) GetPath

func (n *NetworkAny) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAnys GET path Returns all available any types

func (*NetworkAny) GetType

func (n *NetworkAny) GetType() string

GetType implements sophos.Object

func (*NetworkAny) PatchPath

func (*NetworkAny) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkAny PATCH path Changes to parts of the object any types

func (*NetworkAny) PostPath

func (*NetworkAny) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkAny POST path Create a new network/any object

func (*NetworkAny) PutPath

func (*NetworkAny) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkAny PUT path Creates or updates the complete object any

func (*NetworkAny) RefRequired

func (n *NetworkAny) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkAny) UsedByPath

func (*NetworkAny) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkAnys

type NetworkAnys []NetworkAny

NetworkAnys is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkAnys) GetPath

func (*NetworkAnys) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAnys GET path Returns all available network/any objects

func (*NetworkAnys) RefRequired

func (*NetworkAnys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkAvailabilityGroup

type NetworkAvailabilityGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// CheckType can be one of: []string{"icmp", "udp", "tcp", "http", "https"}
	// CheckType default value is "icmp"
	CheckType string `json:"check_type"`
	Comment   string `json:"comment"`
	// Address description: (IPADDR)
	// Address default value is "0.0.0.0"
	Address string `json:"address"`
	// Address6 description: (IP6ADDR)
	// Address6 default value is "::"
	Address6 string `json:"address6"`
	// Resolved default value is false
	Resolved bool          `json:"resolved"`
	Timeout2 int           `json:"timeout2"`
	Members  []interface{} `json:"members"`
	// Sticky default value is true
	Sticky bool `json:"sticky"`
	// CheckData default value is ""
	CheckData string `json:"check_data"`
	// Interface description: REF(interface/*)
	// Interface default value is ""
	Interface string `json:"interface"`
	// Resolved6 default value is false
	Resolved6 bool   `json:"resolved6"`
	Timeout   int    `json:"timeout"`
	CheckPort int    `json:"check_port"`
	Name      string `json:"name"`
}

NetworkAvailabilityGroup represents a UTM availability group

func (*NetworkAvailabilityGroup) DeletePath

func (*NetworkAvailabilityGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkAvailabilityGroup DELETE path Creates or updates the complete object availability_group

func (*NetworkAvailabilityGroup) GetPath

func (n *NetworkAvailabilityGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAvailabilityGroups GET path Returns all available availability_group types

func (*NetworkAvailabilityGroup) PatchPath

func (*NetworkAvailabilityGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkAvailabilityGroup PATCH path Changes to parts of the object availability_group types

func (*NetworkAvailabilityGroup) PostPath

func (*NetworkAvailabilityGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkAvailabilityGroup POST path Create a new network/availability_group object

func (*NetworkAvailabilityGroup) PutPath

func (*NetworkAvailabilityGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkAvailabilityGroup PUT path Creates or updates the complete object availability_group

func (*NetworkAvailabilityGroup) RefRequired

func (n *NetworkAvailabilityGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkAvailabilityGroup) UsedByPath

func (*NetworkAvailabilityGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkAvailabilityGroups added in v0.1.1

type NetworkAvailabilityGroups []NetworkAvailabilityGroup

NetworkAvailabilityGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkAvailabilityGroups) GetPath added in v0.1.1

func (*NetworkAvailabilityGroups) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAvailabilityGroups GET path Returns all available network/availability_group objects

func (*NetworkAvailabilityGroups) RefRequired added in v0.1.1

func (*NetworkAvailabilityGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkDnsGroup

type NetworkDnsGroup struct {
	Locked     string        `json:"_locked"`
	Reference  string        `json:"_ref"`
	ObjectType string        `json:"_type"`
	Addresses  []string      `json:"addresses"`
	Addresses6 []interface{} `json:"addresses6"`
	Comment    string        `json:"comment"`
	Hostname   string        `json:"hostname"`
	Interface  string        `json:"interface"`
	Name       string        `json:"name"`
	Resolved   bool          `json:"resolved"`
	Resolved6  bool          `json:"resolved6"`
	Timeout    int64         `json:"timeout"`
}

NetworkDnsGroup is a generated Sophos object

func (*NetworkDnsGroup) DeletePath

func (*NetworkDnsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkDnsGroup DELETE path Creates or updates the complete object dns_group

func (*NetworkDnsGroup) GetPath

func (n *NetworkDnsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsGroups GET path Returns all available dns_group types

func (*NetworkDnsGroup) GetType

func (n *NetworkDnsGroup) GetType() string

GetType implements sophos.Object

func (*NetworkDnsGroup) PatchPath

func (*NetworkDnsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkDnsGroup PATCH path Changes to parts of the object dns_group types

func (*NetworkDnsGroup) PostPath

func (*NetworkDnsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkDnsGroup POST path Create a new network/dns_group object

func (*NetworkDnsGroup) PutPath

func (*NetworkDnsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkDnsGroup PUT path Creates or updates the complete object dns_group

func (*NetworkDnsGroup) RefRequired

func (n *NetworkDnsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkDnsGroup) UsedByPath

func (*NetworkDnsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkDnsGroups

type NetworkDnsGroups []NetworkDnsGroup

NetworkDnsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkDnsGroups) GetPath

func (*NetworkDnsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsGroups GET path Returns all available network/dns_group objects

func (*NetworkDnsGroups) RefRequired

func (*NetworkDnsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkDnsHost

type NetworkDnsHost struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Address6   string `json:"address6"`
	Comment    string `json:"comment"`
	Hostname   string `json:"hostname"`
	Interface  string `json:"interface"`
	Name       string `json:"name"`
	Resolved   bool   `json:"resolved"`
	Resolved6  bool   `json:"resolved6"`
	Timeout    int64  `json:"timeout"`
}

NetworkDnsHost is a generated Sophos object

func (*NetworkDnsHost) DeletePath

func (*NetworkDnsHost) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkDnsHost DELETE path Creates or updates the complete object dns_host

func (*NetworkDnsHost) GetPath

func (n *NetworkDnsHost) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsHosts GET path Returns all available dns_host types

func (*NetworkDnsHost) GetType

func (n *NetworkDnsHost) GetType() string

GetType implements sophos.Object

func (*NetworkDnsHost) PatchPath

func (*NetworkDnsHost) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkDnsHost PATCH path Changes to parts of the object dns_host types

func (*NetworkDnsHost) PostPath

func (*NetworkDnsHost) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkDnsHost POST path Create a new network/dns_host object

func (*NetworkDnsHost) PutPath

func (*NetworkDnsHost) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkDnsHost PUT path Creates or updates the complete object dns_host

func (*NetworkDnsHost) RefRequired

func (n *NetworkDnsHost) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkDnsHost) UsedByPath

func (*NetworkDnsHost) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkDnsHosts

type NetworkDnsHosts []NetworkDnsHost

NetworkDnsHosts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkDnsHosts) GetPath

func (*NetworkDnsHosts) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsHosts GET path Returns all available network/dns_host objects

func (*NetworkDnsHosts) RefRequired

func (*NetworkDnsHosts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkGroup

type NetworkGroup struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	Members    []string `json:"members"`
	Name       string   `json:"name"`
	Types      []string `json:"types"`
}

NetworkGroup is a generated Sophos object

func (*NetworkGroup) DeletePath

func (*NetworkGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkGroup DELETE path Creates or updates the complete object group

func (*NetworkGroup) GetPath

func (n *NetworkGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkGroups GET path Returns all available group types

func (*NetworkGroup) GetType

func (n *NetworkGroup) GetType() string

GetType implements sophos.Object

func (*NetworkGroup) PatchPath

func (*NetworkGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkGroup PATCH path Changes to parts of the object group types

func (*NetworkGroup) PostPath

func (*NetworkGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkGroup POST path Create a new network/group object

func (*NetworkGroup) PutPath

func (*NetworkGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkGroup PUT path Creates or updates the complete object group

func (*NetworkGroup) RefRequired

func (n *NetworkGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkGroup) UsedByPath

func (*NetworkGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkGroups

type NetworkGroups []NetworkGroup

NetworkGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkGroups) GetPath

func (*NetworkGroups) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkGroups GET path Returns all available network/group objects

func (*NetworkGroups) RefRequired

func (*NetworkGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkHost

type NetworkHost struct {
	Locked     string        `json:"_locked"`
	Reference  string        `json:"_ref"`
	ObjectType string        `json:"_type"`
	Address    string        `json:"address"`
	Address6   string        `json:"address6"`
	Comment    string        `json:"comment"`
	Duids      []interface{} `json:"duids"`
	Hostnames  []string      `json:"hostnames"`
	Interface  string        `json:"interface"`
	Macs       []interface{} `json:"macs"`
	Name       string        `json:"name"`
	Resolved   bool          `json:"resolved"`
	Resolved6  bool          `json:"resolved6"`
	ReverseDNS bool          `json:"reverse_dns"`
}

NetworkHost is a generated Sophos object

func (*NetworkHost) DeletePath

func (*NetworkHost) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkHost DELETE path Creates or updates the complete object host

func (*NetworkHost) GetPath

func (n *NetworkHost) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkHosts GET path Returns all available host types

func (*NetworkHost) GetType

func (n *NetworkHost) GetType() string

GetType implements sophos.Object

func (*NetworkHost) PatchPath

func (*NetworkHost) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkHost PATCH path Changes to parts of the object host types

func (*NetworkHost) PostPath

func (*NetworkHost) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkHost POST path Create a new network/host object

func (*NetworkHost) PutPath

func (*NetworkHost) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkHost PUT path Creates or updates the complete object host

func (*NetworkHost) RefRequired

func (n *NetworkHost) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkHost) UsedByPath

func (*NetworkHost) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkHosts

type NetworkHosts []NetworkHost

NetworkHosts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkHosts) GetPath

func (*NetworkHosts) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkHosts GET path Returns all available network/host objects

func (*NetworkHosts) RefRequired

func (*NetworkHosts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkInterfaceAddress

type NetworkInterfaceAddress struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Address6   string `json:"address6"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Resolved   bool   `json:"resolved"`
	Resolved6  bool   `json:"resolved6"`
}

NetworkInterfaceAddress is a generated Sophos object

func (*NetworkInterfaceAddress) DeletePath

func (*NetworkInterfaceAddress) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkInterfaceAddress DELETE path Creates or updates the complete object interface_address

func (*NetworkInterfaceAddress) GetPath

func (n *NetworkInterfaceAddress) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceAddresss GET path Returns all available interface_address types

func (*NetworkInterfaceAddress) GetType

func (n *NetworkInterfaceAddress) GetType() string

GetType implements sophos.Object

func (*NetworkInterfaceAddress) PatchPath

func (*NetworkInterfaceAddress) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkInterfaceAddress PATCH path Changes to parts of the object interface_address types

func (*NetworkInterfaceAddress) PostPath

func (*NetworkInterfaceAddress) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkInterfaceAddress POST path Create a new network/interface_address object

func (*NetworkInterfaceAddress) PutPath

func (*NetworkInterfaceAddress) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkInterfaceAddress PUT path Creates or updates the complete object interface_address

func (*NetworkInterfaceAddress) RefRequired

func (n *NetworkInterfaceAddress) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkInterfaceAddress) UsedByPath

func (*NetworkInterfaceAddress) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkInterfaceAddresss

type NetworkInterfaceAddresss []NetworkInterfaceAddress

NetworkInterfaceAddresss is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkInterfaceAddresss) GetPath

func (*NetworkInterfaceAddresss) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceAddresss GET path Returns all available network/interface_address objects

func (*NetworkInterfaceAddresss) RefRequired

func (*NetworkInterfaceAddresss) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkInterfaceBroadcast

type NetworkInterfaceBroadcast struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Resolved   bool   `json:"resolved"`
}

NetworkInterfaceBroadcast is a generated Sophos object

func (*NetworkInterfaceBroadcast) DeletePath

func (*NetworkInterfaceBroadcast) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkInterfaceBroadcast DELETE path Creates or updates the complete object interface_broadcast

func (*NetworkInterfaceBroadcast) GetPath

func (n *NetworkInterfaceBroadcast) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceBroadcasts GET path Returns all available interface_broadcast types

func (*NetworkInterfaceBroadcast) GetType

func (n *NetworkInterfaceBroadcast) GetType() string

GetType implements sophos.Object

func (*NetworkInterfaceBroadcast) PatchPath

func (*NetworkInterfaceBroadcast) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkInterfaceBroadcast PATCH path Changes to parts of the object interface_broadcast types

func (*NetworkInterfaceBroadcast) PostPath

func (*NetworkInterfaceBroadcast) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkInterfaceBroadcast POST path Create a new network/interface_broadcast object

func (*NetworkInterfaceBroadcast) PutPath

func (*NetworkInterfaceBroadcast) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkInterfaceBroadcast PUT path Creates or updates the complete object interface_broadcast

func (*NetworkInterfaceBroadcast) RefRequired

func (n *NetworkInterfaceBroadcast) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkInterfaceBroadcast) UsedByPath

func (*NetworkInterfaceBroadcast) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkInterfaceBroadcasts

type NetworkInterfaceBroadcasts []NetworkInterfaceBroadcast

NetworkInterfaceBroadcasts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkInterfaceBroadcasts) GetPath

GetPath implements sophos.RestObject and returns the NetworkInterfaceBroadcasts GET path Returns all available network/interface_broadcast objects

func (*NetworkInterfaceBroadcasts) RefRequired

func (*NetworkInterfaceBroadcasts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkInterfaceNetwork

type NetworkInterfaceNetwork struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Address6   string `json:"address6"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Netmask    int64  `json:"netmask"`
	Netmask6   int64  `json:"netmask6"`
	Resolved   bool   `json:"resolved"`
	Resolved6  bool   `json:"resolved6"`
}

NetworkInterfaceNetwork is a generated Sophos object

func (*NetworkInterfaceNetwork) DeletePath

func (*NetworkInterfaceNetwork) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkInterfaceNetwork DELETE path Creates or updates the complete object interface_network

func (*NetworkInterfaceNetwork) GetPath

func (n *NetworkInterfaceNetwork) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceNetworks GET path Returns all available interface_network types

func (*NetworkInterfaceNetwork) GetType

func (n *NetworkInterfaceNetwork) GetType() string

GetType implements sophos.Object

func (*NetworkInterfaceNetwork) PatchPath

func (*NetworkInterfaceNetwork) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkInterfaceNetwork PATCH path Changes to parts of the object interface_network types

func (*NetworkInterfaceNetwork) PostPath

func (*NetworkInterfaceNetwork) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkInterfaceNetwork POST path Create a new network/interface_network object

func (*NetworkInterfaceNetwork) PutPath

func (*NetworkInterfaceNetwork) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkInterfaceNetwork PUT path Creates or updates the complete object interface_network

func (*NetworkInterfaceNetwork) RefRequired

func (n *NetworkInterfaceNetwork) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkInterfaceNetwork) UsedByPath

func (*NetworkInterfaceNetwork) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkInterfaceNetworks

type NetworkInterfaceNetworks []NetworkInterfaceNetwork

NetworkInterfaceNetworks is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkInterfaceNetworks) GetPath

func (*NetworkInterfaceNetworks) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceNetworks GET path Returns all available network/interface_network objects

func (*NetworkInterfaceNetworks) RefRequired

func (*NetworkInterfaceNetworks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkMulticast

type NetworkMulticast struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Netmask    int    `json:"netmask"`
	// Resolved default value is true
	Resolved bool `json:"resolved"`
	// Address description: (IPADDR)
	Address string `json:"address"`
	Comment string `json:"comment"`
	// Interface description: REF(interface/*)
	// Interface default value is ""
	Interface string `json:"interface"`
}

NetworkMulticast represents a UTM multicast group

func (*NetworkMulticast) DeletePath

func (*NetworkMulticast) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkMulticast DELETE path Creates or updates the complete object multicast

func (*NetworkMulticast) GetPath

func (n *NetworkMulticast) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkMulticasts GET path Returns all available multicast types

func (*NetworkMulticast) PatchPath

func (*NetworkMulticast) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkMulticast PATCH path Changes to parts of the object multicast types

func (*NetworkMulticast) PostPath

func (*NetworkMulticast) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkMulticast POST path Create a new network/multicast object

func (*NetworkMulticast) PutPath

func (*NetworkMulticast) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkMulticast PUT path Creates or updates the complete object multicast

func (*NetworkMulticast) RefRequired

func (n *NetworkMulticast) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkMulticast) UsedByPath

func (*NetworkMulticast) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkMulticasts added in v0.1.1

type NetworkMulticasts []NetworkMulticast

NetworkMulticasts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkMulticasts) GetPath added in v0.1.1

func (*NetworkMulticasts) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkMulticasts GET path Returns all available network/multicast objects

func (*NetworkMulticasts) RefRequired added in v0.1.1

func (*NetworkMulticasts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkNetwork

type NetworkNetwork struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Address    string `json:"address"`
	Address6   string `json:"address6"`
	Comment    string `json:"comment"`
	Interface  string `json:"interface"`
	Name       string `json:"name"`
	Netmask    int64  `json:"netmask"`
	Netmask6   int64  `json:"netmask6"`
	Resolved   bool   `json:"resolved"`
	Resolved6  bool   `json:"resolved6"`
}

NetworkNetwork is a generated Sophos object

func (*NetworkNetwork) DeletePath

func (*NetworkNetwork) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkNetwork DELETE path Creates or updates the complete object network

func (*NetworkNetwork) GetPath

func (n *NetworkNetwork) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkNetworks GET path Returns all available network types

func (*NetworkNetwork) GetType

func (n *NetworkNetwork) GetType() string

GetType implements sophos.Object

func (*NetworkNetwork) PatchPath

func (*NetworkNetwork) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkNetwork PATCH path Changes to parts of the object network types

func (*NetworkNetwork) PostPath

func (*NetworkNetwork) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkNetwork POST path Create a new network/network object

func (*NetworkNetwork) PutPath

func (*NetworkNetwork) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkNetwork PUT path Creates or updates the complete object network

func (*NetworkNetwork) RefRequired

func (n *NetworkNetwork) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkNetwork) UsedByPath

func (*NetworkNetwork) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkNetworks

type NetworkNetworks []NetworkNetwork

NetworkNetworks is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkNetworks) GetPath

func (*NetworkNetworks) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkNetworks GET path Returns all available network/network objects

func (*NetworkNetworks) RefRequired

func (*NetworkNetworks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkRange

type NetworkRange struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	From       string `json:"from"`
	From6      string `json:"from6"`
	Interface  string `json:"interface"`
	Name       string `json:"name"`
	Resolved   bool   `json:"resolved"`
	Resolved6  bool   `json:"resolved6"`
	To         string `json:"to"`
	To6        string `json:"to6"`
}

NetworkRange is a generated Sophos object

func (*NetworkRange) DeletePath

func (*NetworkRange) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkRange DELETE path Creates or updates the complete object range

func (*NetworkRange) GetPath

func (n *NetworkRange) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkRanges GET path Returns all available range types

func (*NetworkRange) GetType

func (n *NetworkRange) GetType() string

GetType implements sophos.Object

func (*NetworkRange) PatchPath

func (*NetworkRange) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkRange PATCH path Changes to parts of the object range types

func (*NetworkRange) PostPath

func (*NetworkRange) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkRange POST path Create a new network/range object

func (*NetworkRange) PutPath

func (*NetworkRange) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkRange PUT path Creates or updates the complete object range

func (*NetworkRange) RefRequired

func (n *NetworkRange) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkRange) UsedByPath

func (*NetworkRange) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkRanges

type NetworkRanges []NetworkRange

NetworkRanges is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkRanges) GetPath

func (*NetworkRanges) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkRanges GET path Returns all available network/range objects

func (*NetworkRanges) RefRequired

func (*NetworkRanges) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Nodes

type Nodes struct {
	AccServer1AuthSecret                           string            `json:"acc.server1.auth.secret"`
	AccServer1AuthStatus                           bool              `json:"acc.server1.auth.status"`
	AccServer1Port                                 int64             `json:"acc.server1.port"`
	AccServer1Roles                                []string          `json:"acc.server1.roles"`
	AccServer1Server                               string            `json:"acc.server1.server"`
	AccServer2AuthSecret                           string            `json:"acc.server2.auth.secret"`
	AccServer2AuthStatus                           bool              `json:"acc.server2.auth.status"`
	AccServer2Port                                 int64             `json:"acc.server2.port"`
	AccServer2Roles                                []string          `json:"acc.server2.roles"`
	AccServer2Server                               string            `json:"acc.server2.server"`
	AccServer2Status                               bool              `json:"acc.server2.status"`
	AccSsoAdminGroup                               string            `json:"acc.sso_admin_group"`
	AccSsoAuditorGroup                             string            `json:"acc.sso_auditor_group"`
	AccStatus                                      bool              `json:"acc.status"`
	AccdAccessAllowedAdmins                        []interface{}     `json:"accd.access.allowed_admins"`
	AccdAccessAllowedNetworks                      []interface{}     `json:"accd.access.allowed_networks"`
	AccdAccessAllowedUsers                         []interface{}     `json:"accd.access.allowed_users"`
	AccdAccessCert                                 string            `json:"accd.access.cert"`
	AccdAccessPort                                 int64             `json:"accd.access.port"`
	AccdDevicesAllowedNetworks                     []interface{}     `json:"accd.devices.allowed_networks"`
	AccdDevicesAuthAuto                            bool              `json:"accd.devices.auth.auto"`
	AccdDevicesAuthSecret                          string            `json:"accd.devices.auth.secret"`
	AccdDevicesAuthStatus                          bool              `json:"accd.devices.auth.status"`
	AccdDevicesCert                                string            `json:"accd.devices.cert"`
	AccdDevicesPort                                int64             `json:"accd.devices.port"`
	AccdGeneralAllowedNetworks                     []interface{}     `json:"accd.general.allowed_networks"`
	AccdGeneralCert                                string            `json:"accd.general.cert"`
	AccdGeneralLanguage                            string            `json:"accd.general.language"`
	AccdGeneralPort                                int64             `json:"accd.general.port"`
	AccdGeneralTimeout                             int64             `json:"accd.general.timeout"`
	AccountingIpfixConnections                     []interface{}     `json:"accounting.ipfix.connections"`
	AccountingIpfixStatus                          bool              `json:"accounting.ipfix.status"`
	AfcControlledNetworks                          []string          `json:"afc.controlled_networks"`
	AfcHiddenSkip                                  []string          `json:"afc.hidden_skip"`
	AfcHttpRedirectURL                             string            `json:"afc.http_redirect_url"`
	AfcLog                                         string            `json:"afc.log"`
	AfcNfqueueLength                               int64             `json:"afc.nfqueue_length"`
	AfcNumQueues                                   struct{}          `json:"afc.num_queues"`
	AfcRules                                       []string          `json:"afc.rules"`
	AfcStatus                                      bool              `json:"afc.status"`
	AfcSubmitUnknownTrafficData                    bool              `json:"afc.submit_unknown_traffic_data"`
	AfcTransparentSkip                             []interface{}     `json:"afc.transparent_skip"`
	AmazonVpcAutoPfrule                            bool              `json:"amazon_vpc.auto_pfrule"`
	AmazonVpcConnections                           []string          `json:"amazon_vpc.connections"`
	AmazonVpcNetworks                              []string          `json:"amazon_vpc.networks"`
	AmazonVpcStatus                                bool              `json:"amazon_vpc.status"`
	AptpPolicy                                     string            `json:"aptp.policy"`
	AptpRuleModifiers                              []interface{}     `json:"aptp.rule_modifiers"`
	AptpStatus                                     bool              `json:"aptp.status"`
	AptpTransparentSkip                            []interface{}     `json:"aptp.transparent_skip"`
	ArmLicensedIP                                  string            `json:"arm.licensed_ip"`
	ArmRemoteHost                                  string            `json:"arm.remote.host"`
	ArmRemoteMethod                                string            `json:"arm.remote.method"`
	ArmRemoteSmbPassword                           string            `json:"arm.remote.smb_password"`
	ArmRemoteSmbShare                              string            `json:"arm.remote.smb_share"`
	ArmRemoteSmbUser                               string            `json:"arm.remote.smb_user"`
	ArmRemoteStatus                                bool              `json:"arm.remote.status"`
	ArmRemoteSyslogService                         string            `json:"arm.remote.syslog_service"`
	ArmStatus                                      bool              `json:"arm.status"`
	AuthAdSsoForceUtf8Sync                         bool              `json:"auth.ad_sso.force_utf8_sync"`
	AuthAdSsoJoinresult                            string            `json:"auth.ad_sso.joinresult"`
	AuthAdSsoLoadbalancerFqdn                      string            `json:"auth.ad_sso.loadbalancer_fqdn"`
	AuthAdSsoNtlmv2Auth                            bool              `json:"auth.ad_sso.ntlmv2_auth"`
	AuthAdSsoSecrets                               string            `json:"auth.ad_sso.secrets"`
	AuthAdSsoSmbconf                               string            `json:"auth.ad_sso.smbconf"`
	AuthAdSsoSsoDomain                             string            `json:"auth.ad_sso.sso_domain"`
	AuthAdSsoSsoNetbiosDomain                      string            `json:"auth.ad_sso.sso_netbios_domain"`
	AuthAdSsoSsoNetbiosHost                        string            `json:"auth.ad_sso.sso_netbios_host"`
	AuthAdSsoSsoPassword                           string            `json:"auth.ad_sso.sso_password"`
	AuthAdSsoSsoServer                             string            `json:"auth.ad_sso.sso_server"`
	AuthAdSsoSsoStatus                             bool              `json:"auth.ad_sso.sso_status"`
	AuthAdSsoSsoSync                               bool              `json:"auth.ad_sso.sso_sync"`
	AuthAdSsoSsoUsername                           string            `json:"auth.ad_sso.sso_username"`
	AuthApiTokens                                  map[string]string `json:"auth.api_tokens"`
	AuthAutoAddToFacility                          []string          `json:"auth.auto_add_to_facility"`
	AuthAutoAddUsers                               bool              `json:"auth.auto_add_users"`
	AuthBlockAttempts                              int64             `json:"auth.block.attempts"`
	AuthBlockFacilities                            []string          `json:"auth.block.facilities"`
	AuthBlockLockout                               bool              `json:"auth.block.lockout"`
	AuthBlockNever                                 []interface{}     `json:"auth.block.never"`
	AuthBlockSeconds                               int64             `json:"auth.block.seconds"`
	AuthCacheLifetime                              int64             `json:"auth.cache_lifetime"`
	AuthEdirSsoEmConflict                          string            `json:"auth.edir_sso.em_conflict"`
	AuthEdirSsoEmSocketTimeout                     int64             `json:"auth.edir_sso.em_socket_timeout"`
	AuthEdirSsoEmVerifyLogout                      bool              `json:"auth.edir_sso.em_verify_logout"`
	AuthEdirSsoSsoAuaSearchIP                      bool              `json:"auth.edir_sso.sso_aua_search_ip"`
	AuthEdirSsoSsoMode                             string            `json:"auth.edir_sso.sso_mode"`
	AuthEdirSsoSsoServer                           string            `json:"auth.edir_sso.sso_server"`
	AuthEdirSsoSyncInterval                        int64             `json:"auth.edir_sso.sync_interval"`
	AuthOtpAutoCreateToken                         bool              `json:"auth.otp.auto_create_token"`
	AuthOtpAutoTokenDigest                         string            `json:"auth.otp.auto_token_digest"`
	AuthOtpDefaultTimestep                         int64             `json:"auth.otp.default_timestep"`
	AuthOtpFacilities                              []string          `json:"auth.otp.facilities"`
	AuthOtpMaxInitTimestepDiff                     int64             `json:"auth.otp.max_init_timestep_diff"`
	AuthOtpMaxTimestepDiff                         int64             `json:"auth.otp.max_timestep_diff"`
	AuthOtpRequireAllUsers                         bool              `json:"auth.otp.require_all_users"`
	AuthOtpRequiredUsers                           []interface{}     `json:"auth.otp.required_users"`
	AuthOtpStatus                                  bool              `json:"auth.otp.status"`
	AuthServers                                    []interface{}     `json:"auth.servers"`
	AuthUpdateBackendGroupMembersDebug             bool              `json:"auth.update_backend_group_members.debug"`
	AuthUpdateBackendGroupMembersStatus            bool              `json:"auth.update_backend_group_members.status"`
	AweAllowedInterfaces                           []interface{}     `json:"awe.allowed_interfaces"`
	AweClients                                     []interface{}     `json:"awe.clients"`
	AweDevices                                     []interface{}     `json:"awe.devices"`
	AweGlobalApAutoaccept                          bool              `json:"awe.global.ap_autoaccept"`
	AweGlobalApDebuglevel                          struct{}          `json:"awe.global.ap_debuglevel"`
	AweGlobalApSoftlimit                           int64             `json:"awe.global.ap_softlimit"`
	AweGlobalApVlantag                             int64             `json:"awe.global.ap_vlantag"`
	AweGlobalAweStatus                             struct{}          `json:"awe.global.awe_status"`
	AweGlobalBridgeUpdateKickout                   bool              `json:"awe.global.bridge_update_kickout"`
	AweGlobalInitialSetup                          bool              `json:"awe.global.initial_setup"`
	AweGlobalLogLevel                              int64             `json:"awe.global.log_level"`
	AweGlobalMagicIP                               string            `json:"awe.global.magic_ip"`
	AweGlobalNotificationTimeout                   int64             `json:"awe.global.notification_timeout"`
	AweGlobalRadiusConf                            string            `json:"awe.global.radius_conf"`
	AweGlobalRootpw                                string            `json:"awe.global.rootpw"`
	AweGlobalStayOnline                            bool              `json:"awe.global.stay_online"`
	AweGlobalStoreBssStats                         bool              `json:"awe.global.store_bss_stats"`
	AweGlobalTunnelIDOffset                        int64             `json:"awe.global.tunnel_id_offset"`
	AweGlobalVlantagging                           bool              `json:"awe.global.vlantagging"`
	AweNetworks                                    []string          `json:"awe.networks"`
	AwscliProfiles                                 []interface{}     `json:"awscli.profiles"`
	BackupEncryption                               bool              `json:"backup.encryption"`
	BackupInterval                                 string            `json:"backup.interval"`
	BackupMaxBackups                               int64             `json:"backup.max_backups"`
	BackupPassword                                 string            `json:"backup.password"`
	BackupRecipients                               []string          `json:"backup.recipients"`
	BackupStatus                                   bool              `json:"backup.status"`
	CaCaGost                                       string            `json:"ca.ca_gost"`
	CaCaIpsec                                      string            `json:"ca.ca_ipsec"`
	CaCaProxies                                    string            `json:"ca.ca_proxies"`
	CaCaRed                                        string            `json:"ca.ca_red"`
	CaDefKeysize                                   int64             `json:"ca.def_keysize"`
	CaGlobalCasEmailEncryptionTrustNewCas          bool              `json:"ca.global_cas.email_encryption.trust_new_cas"`
	CaGlobalCasEmailEncryptionTrusted              []interface{}     `json:"ca.global_cas.email_encryption.trusted"`
	CaGlobalCasEmailEncryptionUntrusted            []interface{}     `json:"ca.global_cas.email_encryption.untrusted"`
	CaGlobalCasHttpProxyTrustNewCas                bool              `json:"ca.global_cas.http_proxy.trust_new_cas"`
	CaGlobalCasHttpProxyTrusted                    []interface{}     `json:"ca.global_cas.http_proxy.trusted"`
	CaGlobalCasHttpProxyUntrusted                  []interface{}     `json:"ca.global_cas.http_proxy.untrusted"`
	CrlsCrls                                       []interface{}     `json:"crls.crls"`
	CSSAvPrimaryEngine                             string            `json:"css.av_primary_engine"`
	CSSSxlLiveprotection                           bool              `json:"css.sxl_liveprotection"`
	CSSSxlSampleSubmit                             bool              `json:"css.sxl_sample_submit"`
	CustomizationEppLastUpdated                    int64             `json:"customization.epp.last_updated"`
	CustomizationEppResourcesRoot                  string            `json:"customization.epp.resources_root"`
	CustomizationHttpCustomAssets                  struct{}          `json:"customization.http.custom_assets"`
	CustomizationHttpCustomTemplates               struct{}          `json:"customization.http.custom_templates"`
	CustomizationHttpLastUpdated                   int64             `json:"customization.http.last_updated"`
	DebugmodeCrashReport                           bool              `json:"debugmode.crash_report"`
	DebugmodeEnabled                               bool              `json:"debugmode.enabled"`
	DhcpRelayDhcpServer                            string            `json:"dhcp.relay.dhcp_server"`
	DhcpRelayInterfaces                            []interface{}     `json:"dhcp.relay.interfaces"`
	DhcpRelayStatus                                bool              `json:"dhcp.relay.status"`
	DhcpRelay6ItfsFacingClients                    []interface{}     `json:"dhcp.relay6.itfs_facing_clients"`
	DhcpRelay6ItfsFacingServer6                    []interface{}     `json:"dhcp.relay6.itfs_facing_server6"`
	DhcpRelay6Status                               bool              `json:"dhcp.relay6.status"`
	DhcpServerCustom4                              string            `json:"dhcp.server.custom4"`
	DhcpServerCustom6                              string            `json:"dhcp.server.custom6"`
	DhcpServerServers                              []string          `json:"dhcp.server.servers"`
	DigestAllowedNetworks                          []interface{}     `json:"digest.allowed_networks"`
	DigestCustomText                               string            `json:"digest.custom_text"`
	DigestDomains                                  []string          `json:"digest.domains"`
	DigestHostname                                 string            `json:"digest.hostname"`
	DigestMailinglists                             []interface{}     `json:"digest.mailinglists"`
	DigestPort                                     int64             `json:"digest.port"`
	DigestSendTimeOne                              string            `json:"digest.send_time_one"`
	DigestSendTimeTwo                              string            `json:"digest.send_time_two"`
	DigestSkiplist                                 []interface{}     `json:"digest.skiplist"`
	DigestStatus                                   bool              `json:"digest.status"`
	DigestUserRelease                              []string          `json:"digest.user_release"`
	DNSAllowedNetworks                             []string          `json:"dns.allowed_networks"`
	DNSAxfr                                        []interface{}     `json:"dns.axfr"`
	DNSDnssec                                      bool              `json:"dns.dnssec"`
	DNSEmail                                       string            `json:"dns.email"`
	DNSEmptyZones                                  string            `json:"dns.empty_zones"`
	DNSFwdDynamic                                  bool              `json:"dns.fwd_dynamic"`
	DNSFwdStatic                                   []string          `json:"dns.fwd_static"`
	DNSRecheckInterval                             int64             `json:"dns.recheck_interval"`
	DNSRoutes                                      []string          `json:"dns.routes"`
	DyndnsRules                                    []interface{}     `json:"dyndns.rules"`
	EmailpkiAuthorityCert                          string            `json:"emailpki.authority.cert"`
	EmailpkiAuthorityFingerprint                   string            `json:"emailpki.authority.fingerprint"`
	EmailpkiAuthorityKey                           string            `json:"emailpki.authority.key"`
	EmailpkiAuthorityPostmasterFingerprint         string            `json:"emailpki.authority.postmaster_fingerprint"`
	EmailpkiAuthorityPostmasterPrivkey             string            `json:"emailpki.authority.postmaster_privkey"`
	EmailpkiAuthorityPostmasterPubkey              string            `json:"emailpki.authority.postmaster_pubkey"`
	EmailpkiGlobalCity                             string            `json:"emailpki.global.city"`
	EmailpkiGlobalCountry                          string            `json:"emailpki.global.country"`
	EmailpkiGlobalOrganization                     string            `json:"emailpki.global.organization"`
	EmailpkiGlobalPostmaster                       string            `json:"emailpki.global.postmaster"`
	EmailpkiGlobalStatus                           bool              `json:"emailpki.global.status"`
	EmailpkiObjectsCas                             []string          `json:"emailpki.objects.cas"`
	EmailpkiObjectsOpenpgp                         []interface{}     `json:"emailpki.objects.openpgp"`
	EmailpkiObjectsSmime                           []interface{}     `json:"emailpki.objects.smime"`
	EmailpkiObjectsUsers                           []interface{}     `json:"emailpki.objects.users"`
	EmailpkiOpenpgpMainKeysize                     int64             `json:"emailpki.openpgp.main_keysize"`
	EmailpkiOpenpgpSubKeysize                      int64             `json:"emailpki.openpgp.sub_keysize"`
	EmailpkiOptionsExternalAuto                    bool              `json:"emailpki.options.external_auto"`
	EmailpkiOptionsKeyserver                       string            `json:"emailpki.options.keyserver"`
	EmailpkiOptionsPolicyDecryption                bool              `json:"emailpki.options.policy_decryption"`
	EmailpkiOptionsPolicyEncryption                bool              `json:"emailpki.options.policy_encryption"`
	EmailpkiOptionsPolicySign                      bool              `json:"emailpki.options.policy_sign"`
	EmailpkiOptionsPolicyVerify                    bool              `json:"emailpki.options.policy_verify"`
	EndpointAacAllowedNetworks                     []string          `json:"endpoint.aac.allowed_networks"`
	EndpointAacAllowedUsers                        []string          `json:"endpoint.aac.allowed_users"`
	EndpointAacCa                                  string            `json:"endpoint.aac.ca"`
	EndpointAacCert                                string            `json:"endpoint.aac.cert"`
	EndpointAacMagicIP                             string            `json:"endpoint.aac.magic_ip"`
	EndpointAacMaxUserLogins                       int64             `json:"endpoint.aac.max_user_logins"`
	EndpointAacStatus                              bool              `json:"endpoint.aac.status"`
	EndpointStasCollectors                         []interface{}     `json:"endpoint.stas.collectors"`
	EndpointStasStatus                             bool              `json:"endpoint.stas.status"`
	EnduserMessagesCompanyText                     string            `json:"enduser_messages.company_text"`
	EnduserMessagesDlpBlackholePart                string            `json:"enduser_messages.dlp.blackhole_part"`
	EnduserMessagesDlpFooterPart                   string            `json:"enduser_messages.dlp.footer_part"`
	EnduserMessagesDlpHeaderPart                   string            `json:"enduser_messages.dlp.header_part"`
	EnduserMessagesDlpOriginalPart                 string            `json:"enduser_messages.dlp.original_part"`
	EnduserMessagesDlpSpxPart                      string            `json:"enduser_messages.dlp.spx_part"`
	EnduserMessagesDlpSubject                      string            `json:"enduser_messages.dlp.subject"`
	EnduserMessagesHttpAppDesc                     string            `json:"enduser_messages.http.app_desc"`
	EnduserMessagesHttpAppSubject                  string            `json:"enduser_messages.http.app_subject"`
	EnduserMessagesHttpBlacklistDesc               string            `json:"enduser_messages.http.blacklist_desc"`
	EnduserMessagesHttpBlacklistSubject            string            `json:"enduser_messages.http.blacklist_subject"`
	EnduserMessagesHttpCertfailSubject             string            `json:"enduser_messages.http.certfail_subject"`
	EnduserMessagesHttpCffOverrideDesc             string            `json:"enduser_messages.http.cff_override_desc"`
	EnduserMessagesHttpCffOverrideSubject          string            `json:"enduser_messages.http.cff_override_subject"`
	EnduserMessagesHttpCffOverrideTerms            string            `json:"enduser_messages.http.cff_override_terms"`
	EnduserMessagesHttpDownloadCompleteDesc        string            `json:"enduser_messages.http.download_complete_desc"`
	EnduserMessagesHttpDownloadCompleteSubject     string            `json:"enduser_messages.http.download_complete_subject"`
	EnduserMessagesHttpDownloadDesc                string            `json:"enduser_messages.http.download_desc"`
	EnduserMessagesHttpDownloadSubject             string            `json:"enduser_messages.http.download_subject"`
	EnduserMessagesHttpErrorDesc                   string            `json:"enduser_messages.http.error_desc"`
	EnduserMessagesHttpErrorSubject                string            `json:"enduser_messages.http.error_subject"`
	EnduserMessagesHttpFileextensionDesc           string            `json:"enduser_messages.http.fileextension_desc"`
	EnduserMessagesHttpFileextensionSubject        string            `json:"enduser_messages.http.fileextension_subject"`
	EnduserMessagesHttpFileextensionWarnDesc       string            `json:"enduser_messages.http.fileextension_warn_desc"`
	EnduserMessagesHttpFileextensionWarnSubject    string            `json:"enduser_messages.http.fileextension_warn_subject"`
	EnduserMessagesHttpFilesizeDesc                string            `json:"enduser_messages.http.filesize_desc"`
	EnduserMessagesHttpFilesizeSubject             string            `json:"enduser_messages.http.filesize_subject"`
	EnduserMessagesHttpGeoipDesc                   string            `json:"enduser_messages.http.geoip_desc"`
	EnduserMessagesHttpGeoipSubject                string            `json:"enduser_messages.http.geoip_subject"`
	EnduserMessagesHttpMimetypeDesc                string            `json:"enduser_messages.http.mimetype_desc"`
	EnduserMessagesHttpMimetypeSubject             string            `json:"enduser_messages.http.mimetype_subject"`
	EnduserMessagesHttpMimetypeWarnDesc            string            `json:"enduser_messages.http.mimetype_warn_desc"`
	EnduserMessagesHttpMimetypeWarnSubject         string            `json:"enduser_messages.http.mimetype_warn_subject"`
	EnduserMessagesHttpPuaDesc                     string            `json:"enduser_messages.http.pua_desc"`
	EnduserMessagesHttpPuaSubject                  string            `json:"enduser_messages.http.pua_subject"`
	EnduserMessagesHttpQuotaBlockDesc              string            `json:"enduser_messages.http.quota_block_desc"`
	EnduserMessagesHttpQuotaBlockSubject           string            `json:"enduser_messages.http.quota_block_subject"`
	EnduserMessagesHttpQuotaWarnDesc               string            `json:"enduser_messages.http.quota_warn_desc"`
	EnduserMessagesHttpQuotaWarnSubject            string            `json:"enduser_messages.http.quota_warn_subject"`
	EnduserMessagesHttpSpDesc                      string            `json:"enduser_messages.http.sp_desc"`
	EnduserMessagesHttpSpFrameSubject              string            `json:"enduser_messages.http.sp_frame_subject"`
	EnduserMessagesHttpSpSubject                   string            `json:"enduser_messages.http.sp_subject"`
	EnduserMessagesHttpSpWarnDesc                  string            `json:"enduser_messages.http.sp_warn_desc"`
	EnduserMessagesHttpSpWarnSubject               string            `json:"enduser_messages.http.sp_warn_subject"`
	EnduserMessagesHttpSslCertraw                  string            `json:"enduser_messages.http.ssl_certraw"`
	EnduserMessagesHttpSslCertstatus               string            `json:"enduser_messages.http.ssl_certstatus"`
	EnduserMessagesHttpSslIssuer                   string            `json:"enduser_messages.http.ssl_issuer"`
	EnduserMessagesHttpSslMd5Fp                    string            `json:"enduser_messages.http.ssl_md5fp"`
	EnduserMessagesHttpSslSha1Fp                   string            `json:"enduser_messages.http.ssl_sha1fp"`
	EnduserMessagesHttpSslSubject                  string            `json:"enduser_messages.http.ssl_subject"`
	EnduserMessagesHttpSslValidfrom                string            `json:"enduser_messages.http.ssl_validfrom"`
	EnduserMessagesHttpSslValiduntil               string            `json:"enduser_messages.http.ssl_validuntil"`
	EnduserMessagesHttpThreatDesc                  string            `json:"enduser_messages.http.threat_desc"`
	EnduserMessagesHttpThreatSubject               string            `json:"enduser_messages.http.threat_subject"`
	EnduserMessagesHttpTransparentAuthDesc         string            `json:"enduser_messages.http.transparent_auth_desc"`
	EnduserMessagesHttpTransparentAuthSubject      string            `json:"enduser_messages.http.transparent_auth_subject"`
	EnduserMessagesHttpTransparentAuthTerms        string            `json:"enduser_messages.http.transparent_auth_terms"`
	EnduserMessagesHttpVirusDesc                   string            `json:"enduser_messages.http.virus_desc"`
	EnduserMessagesHttpVirusSubject                string            `json:"enduser_messages.http.virus_subject"`
	EnduserMessagesHttpVirusscanDesc               string            `json:"enduser_messages.http.virusscan_desc"`
	EnduserMessagesHttpVirusscanSubject            string            `json:"enduser_messages.http.virusscan_subject"`
	EnduserMessagesMailReleaseErrDesc              string            `json:"enduser_messages.mail.release_err_desc"`
	EnduserMessagesMailReleaseErrSubject           string            `json:"enduser_messages.mail.release_err_subject"`
	EnduserMessagesMailReleasedDesc                string            `json:"enduser_messages.mail.released_desc"`
	EnduserMessagesMailReleasedSubject             string            `json:"enduser_messages.mail.released_subject"`
	EnduserMessagesPop3BlockedDesc                 string            `json:"enduser_messages.pop3.blocked_desc"`
	EnduserMessagesPop3BlockedSubject              string            `json:"enduser_messages.pop3.blocked_subject"`
	EnduserMessagesSpxInternalErrorBody            string            `json:"enduser_messages.spx.internal_error.body"`
	EnduserMessagesSpxInternalErrorSubject         string            `json:"enduser_messages.spx.internal_error.subject"`
	EnduserMessagesSpxInternalErrorSenderBody      string            `json:"enduser_messages.spx.internal_error_sender.body"`
	EnduserMessagesSpxInternalErrorSenderSubject   string            `json:"enduser_messages.spx.internal_error_sender.subject"`
	EnduserMessagesSpxPasswordNoSpecCharsBody      string            `json:"enduser_messages.spx.password_no_spec_chars.body"`
	EnduserMessagesSpxPasswordNoSpecCharsSubject   string            `json:"enduser_messages.spx.password_no_spec_chars.subject"`
	EnduserMessagesSpxPasswordNotLongEnoughBody    string            `json:"enduser_messages.spx.password_not_long_enough.body"`
	EnduserMessagesSpxPasswordNotLongEnoughSubject string            `json:"enduser_messages.spx.password_not_long_enough.subject"`
	EnduserMessagesSpxPasswordNotPresentedBody     string            `json:"enduser_messages.spx.password_not_presented.body"`
	EnduserMessagesSpxPasswordNotPresentedSubject  string            `json:"enduser_messages.spx.password_not_presented.subject"`
	EnduserMessagesSpxUrlNotFoundMessage           string            `json:"enduser_messages.spx.url_not_found.message"`
	EnduserMessagesSquidCacheAdmin                 string            `json:"enduser_messages.squid.cache_admin"`
	EnduserMessagesSquidCacheAdminMessage          string            `json:"enduser_messages.squid.cache_admin_message"`
	EppAllowedNetworks                             []string          `json:"epp.allowed_networks"`
	EppCertificate                                 string            `json:"epp.certificate"`
	EppCity                                        string            `json:"epp.city"`
	EppCountry                                     string            `json:"epp.country"`
	EppDefaultEndpointsGroup                       string            `json:"epp.default_endpoints_group"`
	EppDevices                                     []interface{}     `json:"epp.devices"`
	EppEmail                                       string            `json:"epp.email"`
	EppEndpoints                                   []interface{}     `json:"epp.endpoints"`
	EppEndpointsGroups                             []string          `json:"epp.endpoints_groups"`
	EppExceptionsAv                                []interface{}     `json:"epp.exceptions.av"`
	EppExceptionsDc                                []interface{}     `json:"epp.exceptions.dc"`
	EppFallbackURL                                 string            `json:"epp.fallback_url"`
	EppMagnetPassword                              string            `json:"epp.magnet_password"`
	EppMagnetUsername                              string            `json:"epp.magnet_username"`
	EppOrganization                                string            `json:"epp.organization"`
	EppParentProxyHost                             string            `json:"epp.parent_proxy_host"`
	EppParentProxyPort                             int64             `json:"epp.parent_proxy_port"`
	EppParentProxyStatus                           bool              `json:"epp.parent_proxy_status"`
	EppPoliciesAv                                  []string          `json:"epp.policies.av"`
	EppPoliciesDc                                  []string          `json:"epp.policies.dc"`
	EppPort                                        int64             `json:"epp.port"`
	EppPrivateKey                                  string            `json:"epp.private_key"`
	EppRegistrationToken                           string            `json:"epp.registration_token"`
	EppStatusAv                                    bool              `json:"epp.status.av"`
	EppStatusBroker                                bool              `json:"epp.status.broker"`
	EppStatusDc                                    bool              `json:"epp.status.dc"`
	EppStatusEpp                                   bool              `json:"epp.status.epp"`
	EppStatusWc                                    bool              `json:"epp.status.wc"`
	EppTamperPassword                              string            `json:"epp.tamper_password"`
	EppVersion                                     string            `json:"epp.version"`
	EppWdxToken                                    string            `json:"epp.wdx_token"`
	ExecutiveReportDailyArchive                    bool              `json:"executive_report.daily.archive"`
	ExecutiveReportDailyKeep                       int64             `json:"executive_report.daily.keep"`
	ExecutiveReportDailyPdfrecipients              []interface{}     `json:"executive_report.daily.pdfrecipients"`
	ExecutiveReportDailyRecipients                 []string          `json:"executive_report.daily.recipients"`
	ExecutiveReportDailyStatus                     bool              `json:"executive_report.daily.status"`
	ExecutiveReportMonthlyArchive                  bool              `json:"executive_report.monthly.archive"`
	ExecutiveReportMonthlyKeep                     int64             `json:"executive_report.monthly.keep"`
	ExecutiveReportMonthlyPdfrecipients            []interface{}     `json:"executive_report.monthly.pdfrecipients"`
	ExecutiveReportMonthlyRecipients               []interface{}     `json:"executive_report.monthly.recipients"`
	ExecutiveReportMonthlyStatus                   bool              `json:"executive_report.monthly.status"`
	ExecutiveReportWeeklyArchive                   bool              `json:"executive_report.weekly.archive"`
	ExecutiveReportWeeklyFirstDayOfWeek            struct{}          `json:"executive_report.weekly.first_day_of_week"`
	ExecutiveReportWeeklyKeep                      int64             `json:"executive_report.weekly.keep"`
	ExecutiveReportWeeklyPdfrecipients             []interface{}     `json:"executive_report.weekly.pdfrecipients"`
	ExecutiveReportWeeklyRecipients                []interface{}     `json:"executive_report.weekly.recipients"`
	ExecutiveReportWeeklyStatus                    bool              `json:"executive_report.weekly.status"`
	FloodProtectionIcmpDstBurst                    int64             `json:"flood_protection.icmp.dst_burst"`
	FloodProtectionIcmpDstExpire                   int64             `json:"flood_protection.icmp.dst_expire"`
	FloodProtectionIcmpDstGcInterval               int64             `json:"flood_protection.icmp.dst_gc_interval"`
	FloodProtectionIcmpDstRate                     int64             `json:"flood_protection.icmp.dst_rate"`
	FloodProtectionIcmpLog                         string            `json:"flood_protection.icmp.log"`
	FloodProtectionIcmpLogLimitBurst               int64             `json:"flood_protection.icmp.log_limit_burst"`
	FloodProtectionIcmpLogLimitRate                int64             `json:"flood_protection.icmp.log_limit_rate"`
	FloodProtectionIcmpMode                        string            `json:"flood_protection.icmp.mode"`
	FloodProtectionIcmpSrcBurst                    int64             `json:"flood_protection.icmp.src_burst"`
	FloodProtectionIcmpSrcExpire                   int64             `json:"flood_protection.icmp.src_expire"`
	FloodProtectionIcmpSrcGcInterval               int64             `json:"flood_protection.icmp.src_gc_interval"`
	FloodProtectionIcmpSrcRate                     int64             `json:"flood_protection.icmp.src_rate"`
	FloodProtectionIcmpStatus                      bool              `json:"flood_protection.icmp.status"`
	FloodProtectionSynDstBurst                     int64             `json:"flood_protection.syn.dst_burst"`
	FloodProtectionSynDstExpire                    int64             `json:"flood_protection.syn.dst_expire"`
	FloodProtectionSynDstGcInterval                int64             `json:"flood_protection.syn.dst_gc_interval"`
	FloodProtectionSynDstRate                      int64             `json:"flood_protection.syn.dst_rate"`
	FloodProtectionSynLog                          string            `json:"flood_protection.syn.log"`
	FloodProtectionSynLogLimitBurst                int64             `json:"flood_protection.syn.log_limit_burst"`
	FloodProtectionSynLogLimitRate                 int64             `json:"flood_protection.syn.log_limit_rate"`
	FloodProtectionSynMode                         string            `json:"flood_protection.syn.mode"`
	FloodProtectionSynSrcBurst                     int64             `json:"flood_protection.syn.src_burst"`
	FloodProtectionSynSrcExpire                    int64             `json:"flood_protection.syn.src_expire"`
	FloodProtectionSynSrcGcInterval                int64             `json:"flood_protection.syn.src_gc_interval"`
	FloodProtectionSynSrcRate                      int64             `json:"flood_protection.syn.src_rate"`
	FloodProtectionSynStatus                       bool              `json:"flood_protection.syn.status"`
	FloodProtectionUdpDstBurst                     int64             `json:"flood_protection.udp.dst_burst"`
	FloodProtectionUdpDstExpire                    int64             `json:"flood_protection.udp.dst_expire"`
	FloodProtectionUdpDstGcInterval                int64             `json:"flood_protection.udp.dst_gc_interval"`
	FloodProtectionUdpDstRate                      int64             `json:"flood_protection.udp.dst_rate"`
	FloodProtectionUdpLog                          string            `json:"flood_protection.udp.log"`
	FloodProtectionUdpLogLimitBurst                int64             `json:"flood_protection.udp.log_limit_burst"`
	FloodProtectionUdpLogLimitRate                 int64             `json:"flood_protection.udp.log_limit_rate"`
	FloodProtectionUdpMode                         string            `json:"flood_protection.udp.mode"`
	FloodProtectionUdpSrcBurst                     int64             `json:"flood_protection.udp.src_burst"`
	FloodProtectionUdpSrcExpire                    int64             `json:"flood_protection.udp.src_expire"`
	FloodProtectionUdpSrcGcInterval                int64             `json:"flood_protection.udp.src_gc_interval"`
	FloodProtectionUdpSrcRate                      int64             `json:"flood_protection.udp.src_rate"`
	FloodProtectionUdpStatus                       bool              `json:"flood_protection.udp.status"`
	FtpAllowedClients                              []interface{}     `json:"ftp.allowed_clients"`
	FtpAllowedServers                              []string          `json:"ftp.allowed_servers"`
	FtpCffAv                                       bool              `json:"ftp.cff_av"`
	FtpCffAvEngines                                string            `json:"ftp.cff_av_engines"`
	FtpCffFileExtensions                           []interface{}     `json:"ftp.cff_file_extensions"`
	FtpExceptions                                  []interface{}     `json:"ftp.exceptions"`
	FtpMaxFileSize                                 int64             `json:"ftp.max_file_size"`
	FtpMsWinMode                                   bool              `json:"ftp.ms_win_mode"`
	FtpOperationMode                               string            `json:"ftp.operation_mode"`
	FtpRestrictedServers                           []string          `json:"ftp.restricted_servers"`
	FtpStatus                                      bool              `json:"ftp.status"`
	FtpTransparentSkip                             []interface{}     `json:"ftp.transparent_skip"`
	FtpTransparentSkipAutoPf                       bool              `json:"ftp.transparent_skip_auto_pf"`
	GenericProxyRules                              []interface{}     `json:"generic_proxy.rules"`
	GeoipCountriesDst                              []string          `json:"geoip.countries_dst"`
	GeoipCountriesSrc                              []string          `json:"geoip.countries_src"`
	GeoipExceptions                                []interface{}     `json:"geoip.exceptions"`
	GeoipLog                                       string            `json:"geoip.log"`
	GeoipStatus                                    bool              `json:"geoip.status"`
	H323AllowedNetworks                            []interface{}     `json:"h323.allowed_networks"`
	H323LogRelated                                 bool              `json:"h323.log_related"`
	H323Servers                                    []interface{}     `json:"h323.servers"`
	H323Status                                     bool              `json:"h323.status"`
	HaAdvancedAutojoin                             bool              `json:"ha.advanced.autojoin"`
	HaAdvancedColdRollback                         bool              `json:"ha.advanced.cold_rollback"`
	HaAdvancedHttpPersistenceTime                  struct{}          `json:"ha.advanced.http_persistence_time"`
	HaAdvancedLoadTakeover                         int64             `json:"ha.advanced.load_takeover"`
	HaAdvancedLoadWarn                             int64             `json:"ha.advanced.load_warn"`
	HaAdvancedMaxNodes                             int64             `json:"ha.advanced.max_nodes"`
	HaAdvancedMtu                                  string            `json:"ha.advanced.mtu"`
	HaAdvancedNetconsole                           bool              `json:"ha.advanced.netconsole"`
	HaAdvancedPreempt                              string            `json:"ha.advanced.preempt"`
	HaAdvancedUniqueID                             int64             `json:"ha.advanced.unique_id"`
	HaAdvancedVirtualMac                           bool              `json:"ha.advanced.virtual_mac"`
	HaAwsCloudwatchProfile                         string            `json:"ha.aws.cloudwatch.profile"`
	HaAwsCloudwatchStatus                          bool              `json:"ha.aws.cloudwatch.status"`
	HaAwsConfdBackup                               bool              `json:"ha.aws.confd.backup"`
	HaAwsConfdBackupInterval                       int64             `json:"ha.aws.confd.backup_interval"`
	HaAwsConfdRestore                              bool              `json:"ha.aws.confd.restore"`
	HaAwsConfdRestoreDone                          bool              `json:"ha.aws.confd.restore_done"`
	HaAwsElasticIP                                 string            `json:"ha.aws.elastic_ip"`
	HaAwsPostgresArchiveTimeout                    int64             `json:"ha.aws.postgres.archive_timeout"`
	HaAwsPostgresBackup                            bool              `json:"ha.aws.postgres.backup"`
	HaAwsPostgresBaseBackupInterval                int64             `json:"ha.aws.postgres.base_backup_interval"`
	HaAwsPostgresRestore                           bool              `json:"ha.aws.postgres.restore"`
	HaAwsS3Bucket                                  string            `json:"ha.aws.s3_bucket"`
	HaAwsStackName                                 string            `json:"ha.aws.stack_name"`
	HaAwsSyslogBackup                              bool              `json:"ha.aws.syslog.backup"`
	HaAwsSyslogRestore                             bool              `json:"ha.aws.syslog.restore"`
	HaAwsSyslogRestorePeriod                       int64             `json:"ha.aws.syslog.restore_period"`
	HaAwsTrustedNetwork                            string            `json:"ha.aws.trusted_network"`
	HaClusterFtp                                   []interface{}     `json:"ha.cluster.ftp"`
	HaClusterHttp                                  []interface{}     `json:"ha.cluster.http"`
	HaClusterIpsec                                 []interface{}     `json:"ha.cluster.ipsec"`
	HaClusterPop3                                  []interface{}     `json:"ha.cluster.pop3"`
	HaClusterSmtp                                  []interface{}     `json:"ha.cluster.smtp"`
	HaClusterSnort                                 []interface{}     `json:"ha.cluster.snort"`
	HaClusterWaf                                   []interface{}     `json:"ha.cluster.waf"`
	HaDeviceName                                   string            `json:"ha.device_name"`
	HaItfhw                                        string            `json:"ha.itfhw"`
	HaItfhwBackup                                  string            `json:"ha.itfhw_backup"`
	HaMasterIP                                     string            `json:"ha.master_ip"`
	HaMode                                         string            `json:"ha.mode"`
	HaNodeID                                       struct{}          `json:"ha.node_id"`
	HaPassword                                     string            `json:"ha.password"`
	HaPostgresSecret                               string            `json:"ha.postgres_secret"`
	HaSlaveIP                                      string            `json:"ha.slave_ip"`
	HaStatus                                       string            `json:"ha.status"`
	HaSyncConntrack                                bool              `json:"ha.sync.conntrack"`
	HaSyncDatabase                                 bool              `json:"ha.sync.database"`
	HaSyncFiles                                    bool              `json:"ha.sync.files"`
	HaSyncIpsec                                    bool              `json:"ha.sync.ipsec"`
	HaSyncSyslog                                   bool              `json:"ha.sync.syslog"`
	HaTimesDeadTime                                int64             `json:"ha.times.dead_time"`
	HaTimesLoadTime                                int64             `json:"ha.times.load_time"`
	HotspotCert                                    string            `json:"hotspot.cert"`
	HotspotDeleteDays                              int64             `json:"hotspot.delete_days"`
	HotspotSslPortal                               bool              `json:"hotspot.ssl_portal"`
	HotspotStatus                                  bool              `json:"hotspot.status"`
	HotspotTransparentSkip                         []interface{}     `json:"hotspot.transparent_skip"`
	HTTPAdSsoInterfaces                            []interface{}     `json:"http.ad_sso_interfaces"`
	HTTPAdssoRedirectUseHostname                   bool              `json:"http.adsso_redirect_use_hostname"`
	HTTPAllowSsl3                                  bool              `json:"http.allow_ssl3"`
	HTTPAllowTLS12                                 bool              `json:"http.allow_tls_1_2"`
	HTTPAllowedPuas                                []interface{}     `json:"http.allowed_puas"`
	HTTPAllowedTargetServices                      []string          `json:"http.allowed_target_services"`
	HTTPAuaMaxconns                                int64             `json:"http.aua_maxconns"`
	HTTPAuaTimeout                                 int64             `json:"http.aua_timeout"`
	HTTPAuthCacheSize                              int64             `json:"http.auth_cache_size"`
	HTTPAuthCacheTTL                               int64             `json:"http.auth_cache_ttl"`
	HTTPAuthRealm                                  string            `json:"http.auth_realm"`
	HTTPAuthUsercacheTTL                           int64             `json:"http.auth_usercache_ttl"`
	HTTPBlockUnscannable                           bool              `json:"http.block_unscannable"`
	HTTPBypassStreaming                            bool              `json:"http.bypass_streaming"`
	HTTPCaList                                     []interface{}     `json:"http.ca_list"`
	HTTPCacheIgnoresCookies                        bool              `json:"http.cache_ignores_cookies"`
	HTTPCachessl                                   bool              `json:"http.cachessl"`
	HTTPCaching                                    bool              `json:"http.caching"`
	HTTPCertcache                                  string            `json:"http.certcache"`
	HTTPCertstore                                  string            `json:"http.certstore"`
	HTTPCffOverrideUsers                           []interface{}     `json:"http.cff_override_users"`
	HTTPClientTimeout                              int64             `json:"http.client_timeout"`
	HTTPConfLockWorkaround                         bool              `json:"http.conf_lock_workaround"`
	HTTPConnectTimeout                             int64             `json:"http.connect_timeout"`
	HTTPConnectV6Timeout                           struct{}          `json:"http.connect_v6_timeout"`
	HTTPConnlimit                                  int64             `json:"http.connlimit"`
	HTTPCtypeInspectBody                           bool              `json:"http.ctype_inspect_body"`
	HTTPCtypeUnpackArchive                         bool              `json:"http.ctype_unpack_archive"`
	HTTPDebug                                      []interface{}     `json:"http.debug"`
	HTTPDefaultblockaction                         string            `json:"http.defaultblockaction"`
	HTTPDeferagents                                []string          `json:"http.deferagents"`
	HTTPDeferlength                                int64             `json:"http.deferlength"`
	HTTPDisplayHTTPBlockpageExplicitMode           bool              `json:"http.display_http_blockpage_explicit_mode"`
	HTTPDisplayIntro                               bool              `json:"http.display_intro"`
	HTTPDownloadManagerDefaultCharset              string            `json:"http.download_manager_default_charset"`
	HTTPEdirDelayBasicAuth                         bool              `json:"http.edir_delay_basic_auth"`
	HTTPEnableOutInterface                         bool              `json:"http.enable_out_interface"`
	HTTPEppQuotaAction                             string            `json:"http.epp_quota_action"`
	HTTPExceptions                                 []string          `json:"http.exceptions"`
	HTTPForcedCachingExtension                     []string          `json:"http.forced_caching_extension"`
	HTTPForcedCachingNeverCachePrefix              []string          `json:"http.forced_caching_never_cache_prefix"`
	HTTPForcedCachingStatus                        bool              `json:"http.forced_caching_status"`
	HTTPForcedCachingTTL                           int64             `json:"http.forced_caching_ttl"`
	HTTPForcedCachingUserAgentPrefix               []string          `json:"http.forced_caching_user_agent_prefix"`
	HTTPHttpLoopbackDetect                         bool              `json:"http.http_loopback_detect"`
	HTTPIeSslBlockpageWorkaround                   bool              `json:"http.ie_ssl_blockpage_workaround"`
	HTTPLimitAdSsoInterfaces                       bool              `json:"http.limit_ad_sso_interfaces"`
	HTTPLocalSiteList                              []interface{}     `json:"http.local_site_list"`
	HTTPMaxContentEncoding                         int64             `json:"http.max_content_encoding"`
	HTTPMaxTempfileSize                            int64             `json:"http.max_tempfile_size"`
	HTTPMaxthreads                                 int64             `json:"http.maxthreads"`
	HTTPMaxthreadsUnused                           int64             `json:"http.maxthreads_unused"`
	HTTPModulepath                                 string            `json:"http.modulepath"`
	HTTPModules                                    []string          `json:"http.modules"`
	HTTPNoscancontent                              []string          `json:"http.noscancontent"`
	HTTPOpendirectoryKeytab                        string            `json:"http.opendirectory_keytab"`
	HTTPPacFile                                    string            `json:"http.pac_file"`
	HTTPParentProxyHost                            string            `json:"http.parent_proxy_host"`
	HTTPParentProxyPort                            int64             `json:"http.parent_proxy_port"`
	HTTPParentProxyStatus                          bool              `json:"http.parent_proxy_status"`
	HTTPPassthroughID                              string            `json:"http.passthrough_id"`
	HTTPPharmingProtection                         bool              `json:"http.pharming_protection"`
	HTTPPort                                       int64             `json:"http.port"`
	HTTPPortalCert                                 string            `json:"http.portal_cert"`
	HTTPPortalCertChain                            []interface{}     `json:"http.portal_cert_chain"`
	HTTPPortalDomain                               string            `json:"http.portal_domain"`
	HTTPPortalHosts                                []interface{}     `json:"http.portal_hosts"`
	HTTPPortalUseCert                              bool              `json:"http.portal_use_cert"`
	HTTPProceedCacheTimeout                        int64             `json:"http.proceed_cache_timeout"`
	HTTPProfiles                                   []string          `json:"http.profiles"`
	HTTPQuotaSliceTime                             int64             `json:"http.quota_slice_time"`
	HTTPRemoveRequest                              []interface{}     `json:"http.remove_request"`
	HTTPRemoveResponse                             []string          `json:"http.remove_response"`
	HTTPResponseTimeout                            int64             `json:"http.response_timeout"`
	HTTPScLocalDB                                  string            `json:"http.sc_local_db"`
	HTTPScanEppTraffic                             bool              `json:"http.scan_epp_traffic"`
	HTTPSearchdomain                               string            `json:"http.searchdomain"`
	HTTPStrictHTTP                                 bool              `json:"http.strict_http"`
	HTTPTlsciphersClient                           string            `json:"http.tlsciphers_client"`
	HTTPTlsciphersServer                           string            `json:"http.tlsciphers_server"`
	HTTPTmpfsUsageMinMemsize                       int64             `json:"http.tmpfs_usage_min_memsize"`
	HTTPTransparentAuthTimeout                     int64             `json:"http.transparent_auth_timeout"`
	HTTPTransparentDstSkip                         []interface{}     `json:"http.transparent_dst_skip"`
	HTTPTransparentSkipAutoPf                      bool              `json:"http.transparent_skip_auto_pf"`
	HTTPTransparentSrcSkip                         []interface{}     `json:"http.transparent_src_skip"`
	HTTPTunnelTimeout                              int64             `json:"http.tunnel_timeout"`
	HTTPTunnelV6Timeout                            struct{}          `json:"http.tunnel_v6_timeout"`
	HTTPUndefercontent                             []string          `json:"http.undefercontent"`
	HTTPUndeferextension                           []string          `json:"http.undeferextension"`
	HTTPUrlFilteringRedirectURL                    string            `json:"http.url_filtering_redirect_url"`
	HTTPUseConnectionInsteadofProxyconnection      bool              `json:"http.use_connection_insteadof_proxyconnection"`
	HTTPUseDstaddrForGeopiplookup                  bool              `json:"http.use_dstaddr_for_geopiplookup"`
	HTTPUseKrb5Adsso                               bool              `json:"http.use_krb5_adsso"`
	HTTPUseSni                                     bool              `json:"http.use_sni"`
	HTTPUseSxlUrid                                 bool              `json:"http.use_sxl_urid"`
	IcmpForward                                    bool              `json:"icmp.forward"`
	IcmpInput                                      bool              `json:"icmp.input"`
	IcmpLogRedirect                                bool              `json:"icmp.log_redirect"`
	IcmpPingForward                                bool              `json:"icmp.ping.forward"`
	IcmpPingInput                                  bool              `json:"icmp.ping.input"`
	IcmpPingOutput                                 bool              `json:"icmp.ping.output"`
	IcmpSecure                                     bool              `json:"icmp.secure"`
	IcmpTracerouteForward                          bool              `json:"icmp.traceroute.forward"`
	IcmpTracerouteInput                            bool              `json:"icmp.traceroute.input"`
	IdentForward                                   bool              `json:"ident.forward"`
	IdentResponse                                  string            `json:"ident.response"`
	IdentStatus                                    bool              `json:"ident.status"`
	InterfacesAdvancedArpAnnounce                  struct{}          `json:"interfaces.advanced.arp_announce"`
	InterfacesAdvancedArpIgnore                    struct{}          `json:"interfaces.advanced.arp_ignore"`
	InterfacesAdvancedDefaultMetric                int64             `json:"interfaces.advanced.default_metric"`
	InterfacesInterfaces                           []string          `json:"interfaces.interfaces"`
	IpsDnsServers                                  []interface{}     `json:"ips.dns_servers"`
	IpsEngine                                      string            `json:"ips.engine"`
	IpsExceptions                                  []string          `json:"ips.exceptions"`
	IpsFailopen                                    bool              `json:"ips.failopen"`
	IpsFileBasedRules                              bool              `json:"ips.file_based_rules"`
	IpsGroups                                      []string          `json:"ips.groups"`
	IpsHttpServers                                 []interface{}     `json:"ips.http_servers"`
	IpsIpsfbAlertInterval                          int64             `json:"ips.ipsfb.alert_interval"`
	IpsIpsfbConfigInterval                         int64             `json:"ips.ipsfb.config_interval"`
	IpsIpsfbDebug                                  bool              `json:"ips.ipsfb.debug"`
	IpsLocalNetworks                               []string          `json:"ips.local_networks"`
	IpsNumInstances                                struct{}          `json:"ips.num_instances"`
	IpsPatternChannel                              string            `json:"ips.pattern_channel"`
	IpsPolicy                                      string            `json:"ips.policy"`
	IpsQueueLength                                 int64             `json:"ips.queue_length"`
	IpsQueueThreshold                              struct{}          `json:"ips.queue_threshold"`
	IpsReloadMethod                                string            `json:"ips.reload_method"`
	IpsRestartPolicy                               string            `json:"ips.restart_policy"`
	IpsRuleModifiers                               []interface{}     `json:"ips.rule_modifiers"`
	IpsRules                                       []interface{}     `json:"ips.rules"`
	IpsSkipAcks                                    bool              `json:"ips.skip_acks"`
	IpsSmtpServers                                 []interface{}     `json:"ips.smtp_servers"`
	IpsSnortsettingsMaxQueuedBytes                 struct{}          `json:"ips.snortsettings.max_queued_bytes"`
	IpsSnortsettingsMaxQueuedSegs                  struct{}          `json:"ips.snortsettings.max_queued_segs"`
	IpsSnortsettingsMaxTcp                         struct{}          `json:"ips.snortsettings.max_tcp"`
	IpsSnortsettingsMaxUdp                         struct{}          `json:"ips.snortsettings.max_udp"`
	IpsSnortsettingsMemcap                         struct{}          `json:"ips.snortsettings.memcap"`
	IpsSnortsettingsSearchMethod                   string            `json:"ips.snortsettings.search_method"`
	IpsSqlServers                                  []interface{}     `json:"ips.sql_servers"`
	IpsStatus                                      bool              `json:"ips.status"`
	IpsecAdvancedCrlAutoFetching                   bool              `json:"ipsec.advanced.crl_auto_fetching"`
	IpsecAdvancedCrlStrictPolicy                   bool              `json:"ipsec.advanced.crl_strict_policy"`
	IpsecAdvancedDeadPeerDetection                 bool              `json:"ipsec.advanced.dead_peer_detection"`
	IpsecAdvancedIkeDebug                          []interface{}     `json:"ipsec.advanced.ike_debug"`
	IpsecAdvancedIkePort                           int64             `json:"ipsec.advanced.ike_port"`
	IpsecAdvancedMetric                            struct{}          `json:"ipsec.advanced.metric"`
	IpsecAdvancedNatTraversal                      bool              `json:"ipsec.advanced.nat_traversal"`
	IpsecAdvancedNatTraversalKeepalive             int64             `json:"ipsec.advanced.nat_traversal_keepalive"`
	IpsecAdvancedProbePsk                          bool              `json:"ipsec.advanced.probe_psk"`
	IpsecAdvancedPskVpnID                          string            `json:"ipsec.advanced.psk_vpn_id"`
	IpsecAdvancedPskVpnIDType                      string            `json:"ipsec.advanced.psk_vpn_id_type"`
	IpsecConnections                               []string          `json:"ipsec.connections"`
	IpsecLocalRsa                                  string            `json:"ipsec.local_rsa"`
	IpsecLocalX509                                 string            `json:"ipsec.local_x509"`
	IpsecStatus                                    bool              `json:"ipsec.status"`
	Ipv6AdvancedHopLimit                           int64             `json:"ipv6.advanced.hop_limit"`
	Ipv6AdvancedMaxInterval                        int64             `json:"ipv6.advanced.max_interval"`
	Ipv6AdvancedMinInterval                        int64             `json:"ipv6.advanced.min_interval"`
	Ipv6AdvancedPreference                         string            `json:"ipv6.advanced.preference"`
	Ipv6AdvancedReachableTime                      struct{}          `json:"ipv6.advanced.reachable_time"`
	Ipv6AdvancedRetransTime                        struct{}          `json:"ipv6.advanced.retrans_time"`
	Ipv6BrokerAuthentication                       string            `json:"ipv6.broker.authentication"`
	Ipv6BrokerInterface                            string            `json:"ipv6.broker.interface"`
	Ipv6BrokerPassword                             string            `json:"ipv6.broker.password"`
	Ipv6BrokerProtocol                             string            `json:"ipv6.broker.protocol"`
	Ipv6BrokerServer                               string            `json:"ipv6.broker.server"`
	Ipv6BrokerStatus                               bool              `json:"ipv6.broker.status"`
	Ipv6BrokerTunnelID                             string            `json:"ipv6.broker.tunnel_id"`
	Ipv6BrokerUsername                             string            `json:"ipv6.broker.username"`
	Ipv6Nat64Address                               string            `json:"ipv6.nat64.address"`
	Ipv6Nat64Dns64V6only                           bool              `json:"ipv6.nat64.dns64_v6only"`
	Ipv6Nat64Prefix                                string            `json:"ipv6.nat64.prefix"`
	Ipv6Nat64Status                                bool              `json:"ipv6.nat64.status"`
	Ipv6Prefer                                     bool              `json:"ipv6.prefer"`
	Ipv6Prefixes                                   []interface{}     `json:"ipv6.prefixes"`
	Ipv6Renumbering                                bool              `json:"ipv6.renumbering"`
	Ipv6Six2FourInterface                          string            `json:"ipv6.six2four.interface"`
	Ipv6Six2FourServer                             string            `json:"ipv6.six2four.server"`
	Ipv6Six2FourStatus                             bool              `json:"ipv6.six2four.status"`
	Ipv6Status                                     bool              `json:"ipv6.status"`
	LicensingActiveIps                             []string          `json:"licensing.active_ips"`
	LicensingLicense                               string            `json:"licensing.license"`
	LicensingUserLimitExceeded                     struct{}          `json:"licensing.user_limit_exceeded"`
	LinkAggregationGroups                          []string          `json:"link_aggregation.groups"`
	LoadbalanceHttpErrorCode                       int64             `json:"loadbalance.http_error_code"`
	LoadbalanceRules                               []interface{}     `json:"loadbalance.rules"`
	LogfilesLocalActionOne                         string            `json:"logfiles.local.action_one"`
	LogfilesLocalActionThree                       string            `json:"logfiles.local.action_three"`
	LogfilesLocalActionTwo                         string            `json:"logfiles.local.action_two"`
	LogfilesLocalDeleteAfterDays                   struct{}          `json:"logfiles.local.delete_after_days"`
	LogfilesLocalPercentageOne                     int64             `json:"logfiles.local.percentage_one"`
	LogfilesLocalPercentageThree                   int64             `json:"logfiles.local.percentage_three"`
	LogfilesLocalPercentageTwo                     int64             `json:"logfiles.local.percentage_two"`
	LogfilesLocalStatus                            bool              `json:"logfiles.local.status"`
	LogfilesRemoteFtpService                       string            `json:"logfiles.remote.ftp_service"`
	LogfilesRemoteHost                             string            `json:"logfiles.remote.host"`
	LogfilesRemotePass                             string            `json:"logfiles.remote.pass"`
	LogfilesRemotePath                             string            `json:"logfiles.remote.path"`
	LogfilesRemoteSmbWorkgroup                     string            `json:"logfiles.remote.smb_workgroup"`
	LogfilesRemoteSmtpAddress                      string            `json:"logfiles.remote.smtp_address"`
	LogfilesRemoteStatus                           bool              `json:"logfiles.remote.status"`
	LogfilesRemoteType                             string            `json:"logfiles.remote.type"`
	LogfilesRemoteUser                             string            `json:"logfiles.remote.user"`
	MasqRules                                      []string          `json:"masq.rules"`
	MigrationAccessToken                           string            `json:"migration.access_token"`
	MigrationLocalOverride                         bool              `json:"migration.local_override"`
	MigrationRefreshToken                          string            `json:"migration.refresh_token"`
	MigrationTabVisibility                         string            `json:"migration.tab_visibility"`
	MigrationToolsetVersion                        string            `json:"migration.toolset_version"`
	MigrationUtmVersion                            string            `json:"migration.utm_version"`
	MobileControlCa                                string            `json:"mobile_control.ca"`
	MobileControlConfigCisco                       bool              `json:"mobile_control.config.cisco"`
	MobileControlConfigEapMethod                   string            `json:"mobile_control.config.eap_method"`
	MobileControlConfigForcePush                   bool              `json:"mobile_control.config.force_push"`
	MobileControlConfigL2Tp                        bool              `json:"mobile_control.config.l2tp"`
	MobileControlConfigWifiNetworks                []interface{}     `json:"mobile_control.config.wifi_networks"`
	MobileControlCustomer                          string            `json:"mobile_control.customer"`
	MobileControlDebug                             bool              `json:"mobile_control.debug"`
	MobileControlNacCisco                          bool              `json:"mobile_control.nac.cisco"`
	MobileControlNacDenyAllVpn                     bool              `json:"mobile_control.nac.deny_all_vpn"`
	MobileControlNacL2Tp                           bool              `json:"mobile_control.nac.l2tp"`
	MobileControlNacMacsAllowed                    string            `json:"mobile_control.nac.macs_allowed"`
	MobileControlNacMacsDenied                     string            `json:"mobile_control.nac.macs_denied"`
	MobileControlNacPollInterval                   int64             `json:"mobile_control.nac.poll_interval"`
	MobileControlNacUsersDenied                    []interface{}     `json:"mobile_control.nac.users_denied"`
	MobileControlNacWifiNetworks                   []interface{}     `json:"mobile_control.nac.wifi_networks"`
	MobileControlPassword                          string            `json:"mobile_control.password"`
	MobileControlServer                            string            `json:"mobile_control.server"`
	MobileControlStatus                            bool              `json:"mobile_control.status"`
	MobileControlUsername                          string            `json:"mobile_control.username"`
	NatRules                                       []string          `json:"nat.rules"`
	NotificationsDeviceInfo                        string            `json:"notifications.device_info"`
	NotificationsLimiting                          bool              `json:"notifications.limiting"`
	NotificationsOverlay                           []interface{}     `json:"notifications.overlay"`
	NotificationsRebootReason                      struct {
		Zero string `json:"0"`
		One  string `json:"1"`
	} `json:"notifications.reboot_reason"`
	NotificationsRecipients                              []string      `json:"notifications.recipients"`
	NotificationsSender                                  string        `json:"notifications.sender"`
	NotificationsSmtpAuthentication                      bool          `json:"notifications.smtp.authentication"`
	NotificationsSmtpPassword                            string        `json:"notifications.smtp.password"`
	NotificationsSmtpPort                                int64         `json:"notifications.smtp.port"`
	NotificationsSmtpServer                              string        `json:"notifications.smtp.server"`
	NotificationsSmtpStatus                              bool          `json:"notifications.smtp.status"`
	NotificationsSmtpTls                                 bool          `json:"notifications.smtp.tls"`
	NotificationsSmtpUsername                            string        `json:"notifications.smtp.username"`
	NTPAllowedNetworks                                   []string      `json:"ntp.allowed_networks"`
	NTPServers                                           []string      `json:"ntp.servers"`
	NTPStatus                                            bool          `json:"ntp.status"`
	PacketfilterAdvancedBlockInvalidCtPackets            bool          `json:"packetfilter.advanced.block_invalid_ct_packets"`
	PacketfilterAdvancedCheckPacketLength                bool          `json:"packetfilter.advanced.check_packet_length"`
	PacketfilterAdvancedConntrackHelpers                 []string      `json:"packetfilter.advanced.conntrack_helpers"`
	PacketfilterAdvancedFtpPorts                         []int64       `json:"packetfilter.advanced.ftp_ports"`
	PacketfilterAdvancedLogBroadcasts                    bool          `json:"packetfilter.advanced.log_broadcasts"`
	PacketfilterAdvancedLogDNSRequests                   bool          `json:"packetfilter.advanced.log_dns_requests"`
	PacketfilterAdvancedLogFtpData                       bool          `json:"packetfilter.advanced.log_ftp_data"`
	PacketfilterAdvancedLogInvalid                       struct{}      `json:"packetfilter.advanced.log_invalid"`
	PacketfilterAdvancedLogMcast                         bool          `json:"packetfilter.advanced.log_mcast"`
	PacketfilterAdvancedLogStrictTcpState                string        `json:"packetfilter.advanced.log_strict_tcp_state"`
	PacketfilterAdvancedNoErrorReplay                    bool          `json:"packetfilter.advanced.no_error_replay"`
	PacketfilterAdvancedOptimizeIpset                    string        `json:"packetfilter.advanced.optimize.ipset"`
	PacketfilterAdvancedOptimizePorts                    bool          `json:"packetfilter.advanced.optimize.ports"`
	PacketfilterAdvancedSpoofProtection                  string        `json:"packetfilter.advanced.spoof_protection"`
	PacketfilterAdvancedStrictTcpState                   bool          `json:"packetfilter.advanced.strict_tcp_state"`
	PacketfilterAdvancedTcpMaxRetrans                    int64         `json:"packetfilter.advanced.tcp_max_retrans"`
	PacketfilterAdvancedTcpWindowScaling                 bool          `json:"packetfilter.advanced.tcp_window_scaling"`
	PacketfilterRules                                    []string      `json:"packetfilter.rules"`
	PacketfilterRulesAuto                                []string      `json:"packetfilter.rules_auto"`
	PacketfilterRulesBack                                string        `json:"packetfilter.rules_back"`
	PacketfilterRulesFront                               string        `json:"packetfilter.rules_front"`
	PacketfilterTimeoutsIpConntrackGenericTimeout        int64         `json:"packetfilter.timeouts.ip_conntrack_generic_timeout"`
	PacketfilterTimeoutsIpConntrackIcmpTimeout           int64         `json:"packetfilter.timeouts.ip_conntrack_icmp_timeout"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutClose       int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_close"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutCloseWait   int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_close_wait"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutEstablished int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_established"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutFinWait     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_fin_wait"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutLastAck     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_last_ack"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutMaxRetrans  int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_max_retrans"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutSynRecv     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_syn_recv"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutSynSent     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_syn_sent"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutTimeWait    int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_time_wait"`
	PacketfilterTimeoutsIpConntrackUdpTimeout            int64         `json:"packetfilter.timeouts.ip_conntrack_udp_timeout"`
	PacketfilterTimeoutsIpConntrackUdpTimeoutStream      int64         `json:"packetfilter.timeouts.ip_conntrack_udp_timeout_stream"`
	PasswdLoginuserClearpass                             string        `json:"passwd.loginuser.clearpass"`
	PasswdLoginuserCryptpass                             string        `json:"passwd.loginuser.cryptpass"`
	PasswdRootClearpass                                  string        `json:"passwd.root.clearpass"`
	PasswdRootCryptpass                                  string        `json:"passwd.root.cryptpass"`
	PdfPaper                                             string        `json:"pdf.paper"`
	PimSmAutoPfOut                                       string        `json:"pim_sm.auto_pf_out"`
	PimSmAutoPfrule                                      bool          `json:"pim_sm.auto_pfrule"`
	PimSmDebug                                           bool          `json:"pim_sm.debug"`
	PimSmInterfaces                                      []interface{} `json:"pim_sm.interfaces"`
	PimSmRpRouters                                       []interface{} `json:"pim_sm.rp_routers"`
	PimSmSptSwitchBytes                                  int64         `json:"pim_sm.spt_switch_bytes"`
	PimSmSptSwitchStatus                                 bool          `json:"pim_sm.spt_switch_status"`
	PimSmStatus                                          bool          `json:"pim_sm.status"`
	Pop3AllowedClients                                   []interface{} `json:"pop3.allowed_clients"`
	Pop3AllowedServers                                   []string      `json:"pop3.allowed_servers"`
	Pop3CffAsMarker                                      string        `json:"pop3.cff_as_marker"`
	Pop3CffAv                                            bool          `json:"pop3.cff_av"`
	Pop3CffAvAction                                      string        `json:"pop3.cff_av_action"`
	Pop3CffAvEngines                                     string        `json:"pop3.cff_av_engines"`
	Pop3CffFileExtensions                                []string      `json:"pop3.cff_file_extensions"`
	Pop3DirectlyDeleteQuarantined                        bool          `json:"pop3.directly_delete_quarantined"`
	Pop3Exceptions                                       []interface{} `json:"pop3.exceptions"`
	Pop3KnownServers                                     []interface{} `json:"pop3.known_servers"`
	Pop3MaxMessageSize                                   int64         `json:"pop3.max_message_size"`
	Pop3PrefetchingInterval                              int64         `json:"pop3.prefetching.interval"`
	Pop3PrefetchingOptimizeStorage                       bool          `json:"pop3.prefetching.optimize_storage"`
	Pop3PrefetchingStatus                                bool          `json:"pop3.prefetching.status"`
	Pop3PrefetchingStorageMinHoldDays                    int64         `json:"pop3.prefetching.storage_min_hold_days"`
	Pop3QuarantineUnscannable                            bool          `json:"pop3.quarantine_unscannable"`
	Pop3SandboxMaxFilesizeMb                             int64         `json:"pop3.sandbox_max_filesize_mb"`
	Pop3SandboxScanStatus                                bool          `json:"pop3.sandbox_scan_status"`
	Pop3ScanTLS                                          bool          `json:"pop3.scan_tls"`
	Pop3SenderBlacklist                                  []interface{} `json:"pop3.sender_blacklist"`
	Pop3Spam                                             string        `json:"pop3.spam"`
	Pop3SpamExpressions                                  []interface{} `json:"pop3.spam_expressions"`
	Pop3Spamplus                                         string        `json:"pop3.spamplus"`
	Pop3Spamstatus                                       bool          `json:"pop3.spamstatus"`
	Pop3Status                                           bool          `json:"pop3.status"`
	Pop3TlsCert                                          string        `json:"pop3.tls_cert"`
	Pop3TransparentSkip                                  []interface{} `json:"pop3.transparent_skip"`
	Pop3TransparentSkipAutoPf                            bool          `json:"pop3.transparent_skip_auto_pf"`
	Pop3UserCharset                                      string        `json:"pop3.user_charset"`
	PortalAllowAnyUser                                   bool          `json:"portal.allow_any_user"`
	PortalAllowedNetworks                                []string      `json:"portal.allowed_networks"`
	PortalAllowedUsers                                   []interface{} `json:"portal.allowed_users"`
	PortalHideItems                                      []interface{} `json:"portal.hide_items"`
	PortalHostname                                       string        `json:"portal.hostname"`
	PortalInterfaceAddress                               string        `json:"portal.interface_address"`
	PortalLanguage                                       string        `json:"portal.language"`
	PortalPersistentCookies                              bool          `json:"portal.persistent_cookies"`
	PortalPort                                           int64         `json:"portal.port"`
	PortalStatus                                         bool          `json:"portal.status"`
	PortalWelcomeMsg                                     string        `json:"portal.welcome_msg"`
	PsdAction                                            string        `json:"psd.action"`
	PsdDelayThreshold                                    int64         `json:"psd.delay_threshold"`
	PsdHiPortsWeight                                     int64         `json:"psd.hi_ports_weight"`
	PsdLoPortsWeight                                     int64         `json:"psd.lo_ports_weight"`
	PsdLogLimiterBurst                                   int64         `json:"psd.log_limiter.burst"`
	PsdLogLimiterRate                                    int64         `json:"psd.log_limiter.rate"`
	PsdLogLimiterStatus                                  bool          `json:"psd.log_limiter.status"`
	PsdStatus                                            bool          `json:"psd.status"`
	PsdWeightThreshold                                   int64         `json:"psd.weight_threshold"`
	QosAdvancedEcn                                       int64         `json:"qos.advanced.ecn"`
	QosAdvancedKeepClassAfterEncap                       bool          `json:"qos.advanced.keep_class_after_encap"`
	QosInterfaces                                        []string      `json:"qos.interfaces"`
	QuarantineKeepDBLogDays                              int64         `json:"quarantine.keep_db_log_days"`
	QuarantineKeepQuarantineDays                         int64         `json:"quarantine.keep_quarantine_days"`
	RedActivateProvFw                                    bool          `json:"red.activate_prov_fw"`
	RedAuthorization                                     bool          `json:"red.authorization"`
	RedCaSettingsCity                                    string        `json:"red.ca_settings.city"`
	RedCaSettingsCountry                                 string        `json:"red.ca_settings.country"`
	RedCaSettingsEmail                                   string        `json:"red.ca_settings.email"`
	RedCaSettingsOrganization                            string        `json:"red.ca_settings.organization"`
	RedClients                                           []interface{} `json:"red.clients"`
	RedDeauthTimeout                                     string        `json:"red.deauth_timeout"`
	RedOverlayFwEnabled                                  bool          `json:"red.overlay_fw_enabled"`
	RedRegistryCert                                      string        `json:"red.registry_cert"`
	RedRegistryID                                        string        `json:"red.registry_id"`
	RedRegistryKey                                       string        `json:"red.registry_key"`
	RedServerCert                                        string        `json:"red.server_cert"`
	RedServers                                           []interface{} `json:"red.servers"`
	RedStatus                                            bool          `json:"red.status"`
	RedTls12Only                                         bool          `json:"red.tls_1_2_only"`
	RemoteAccessAdvancedMsdns1                           string        `json:"remote_access.advanced.msdns1"`
	RemoteAccessAdvancedMsdns2                           string        `json:"remote_access.advanced.msdns2"`
	RemoteAccessAdvancedMsdomain                         string        `json:"remote_access.advanced.msdomain"`
	RemoteAccessAdvancedMswins1                          string        `json:"remote_access.advanced.mswins1"`
	RemoteAccessAdvancedMswins2                          string        `json:"remote_access.advanced.mswins2"`
	RemoteAccessCisco                                    string        `json:"remote_access.cisco"`
	RemoteAccessClientlessVpnDebug                       bool          `json:"remote_access.clientless_vpn.debug"`
	RemoteAccessClientlessVpnStatus                      bool          `json:"remote_access.clientless_vpn.status"`
	RemoteAccessL2Tp                                     string        `json:"remote_access.l2tp"`
	RemoteAccessPptpAaa                                  []string      `json:"remote_access.pptp.aaa"`
	RemoteAccessPptpAuthentication                       string        `json:"remote_access.pptp.authentication"`
	RemoteAccessPptpDebug                                bool          `json:"remote_access.pptp.debug"`
	RemoteAccessPptpEncryption                           string        `json:"remote_access.pptp.encryption"`
	RemoteAccessPptpIpAssignmentDhcp                     string        `json:"remote_access.pptp.ip_assignment_dhcp"`
	RemoteAccessPptpIpAssignmentDhcpInterface            string        `json:"remote_access.pptp.ip_assignment_dhcp_interface"`
	RemoteAccessPptpIpAssignmentMode                     string        `json:"remote_access.pptp.ip_assignment_mode"`
	RemoteAccessPptpIpAssignmentPool                     string        `json:"remote_access.pptp.ip_assignment_pool"`
	RemoteAccessPptpIphoneConnectionName                 string        `json:"remote_access.pptp.iphone_connection_name"`
	RemoteAccessPptpIphoneHostname                       string        `json:"remote_access.pptp.iphone_hostname"`
	RemoteAccessPptpIphoneStatus                         bool          `json:"remote_access.pptp.iphone_status"`
	RemoteAccessPptpMtu                                  int64         `json:"remote_access.pptp.mtu"`
	RemoteAccessPptpStatus                               bool          `json:"remote_access.pptp.status"`
	RemoteSyslogBuffer                                   int64         `json:"remote_syslog.buffer"`
	RemoteSyslogLogs                                     []interface{} `json:"remote_syslog.logs"`
	RemoteSyslogStatus                                   bool          `json:"remote_syslog.status"`
	RemoteSyslogTarget                                   []interface{} `json:"remote_syslog.target"`
	ReportingAccountingKeepdays                          int64         `json:"reporting.accounting_keepdays"`
	ReportingAccountingStatus                            bool          `json:"reporting.accounting_status"`
	ReportingAnonymizing                                 bool          `json:"reporting.anonymizing"`
	ReportingAppctrlKeepdays                             int64         `json:"reporting.appctrl_keepdays"`
	ReportingAppctrlStatus                               bool          `json:"reporting.appctrl_status"`
	ReportingAtpKeepdays                                 int64         `json:"reporting.atp_keepdays"`
	ReportingAtpReset                                    struct{}      `json:"reporting.atp_reset"`
	ReportingAtpStatus                                   bool          `json:"reporting.atp_status"`
	ReportingAuthenticationKeepdays                      int64         `json:"reporting.authentication_keepdays"`
	ReportingAuthenticationStatus                        bool          `json:"reporting.authentication_status"`
	ReportingCsvSeparator                                string        `json:"reporting.csv_separator"`
	ReportingEmailsecurityImport                         []interface{} `json:"reporting.emailsecurity_import"`
	ReportingEmailsecurityKeepdays                       int64         `json:"reporting.emailsecurity_keepdays"`
	ReportingEmailsecurityStatus                         bool          `json:"reporting.emailsecurity_status"`
	ReportingEnableVpnAccounting                         bool          `json:"reporting.enable_vpn_accounting"`
	ReportingHideAccountingips                           []interface{} `json:"reporting.hide_accountingips"`
	ReportingHideMailaddresses                           []interface{} `json:"reporting.hide_mailaddresses"`
	ReportingHideMaildomains                             []interface{} `json:"reporting.hide_maildomains"`
	ReportingHideNetsecips                               []interface{} `json:"reporting.hide_netsecips"`
	ReportingHideWebdomains                              []interface{} `json:"reporting.hide_webdomains"`
	ReportingIpsImport                                   []interface{} `json:"reporting.ips_import"`
	ReportingIpsKeepdays                                 int64         `json:"reporting.ips_keepdays"`
	ReportingIpsStatus                                   bool          `json:"reporting.ips_status"`
	ReportingPacketfilterImport                          []interface{} `json:"reporting.packetfilter_import"`
	ReportingPacketfilterKeepdays                        int64         `json:"reporting.packetfilter_keepdays"`
	ReportingPacketfilterStatus                          bool          `json:"reporting.packetfilter_status"`
	ReportingPassword1                                   string        `json:"reporting.password1"`
	ReportingPassword2                                   string        `json:"reporting.password2"`
	ReportingSandboxKeepdays                             int64         `json:"reporting.sandbox_keepdays"`
	ReportingUserlogFromLogs                             bool          `json:"reporting.userlog_from_logs"`
	ReportingVpnKeepdays                                 int64         `json:"reporting.vpn_keepdays"`
	ReportingVpnStatus                                   bool          `json:"reporting.vpn_status"`
	ReportingWafKeepdays                                 int64         `json:"reporting.waf_keepdays"`
	ReportingWafStatus                                   bool          `json:"reporting.waf_status"`
	ReportingWebsecurityDetail                           struct{}      `json:"reporting.websecurity_detail"`
	ReportingWebsecurityImport                           []interface{} `json:"reporting.websecurity_import"`
	ReportingWebsecurityKeepdays                         int64         `json:"reporting.websecurity_keepdays"`
	ReportingWebsecurityStatus                           bool          `json:"reporting.websecurity_status"`
	ReverseProxyAuaRefreshEnabled                        bool          `json:"reverse_proxy.aua_refresh_enabled"`
	ReverseProxyAuaRefreshInterval                       int64         `json:"reverse_proxy.aua_refresh_interval"`
	ReverseProxyBlacklistDnsrblZones                     []string      `json:"reverse_proxy.blacklist.dnsrbl_zones"`
	ReverseProxyBlacklistGeoipCodes                      []string      `json:"reverse_proxy.blacklist.geoip_codes"`
	ReverseProxyCookiesignkey                            string        `json:"reverse_proxy.cookiesignkey"`
	ReverseProxyCssdHostname                             string        `json:"reverse_proxy.cssd_hostname"`
	ReverseProxyCssdPort                                 struct{}      `json:"reverse_proxy.cssd_port"`
	ReverseProxyCustomThreatFiltersEnabled               bool          `json:"reverse_proxy.custom_threat_filters_enabled"`
	ReverseProxyFormhardeningSecret                      string        `json:"reverse_proxy.formhardening_secret"`
	ReverseProxyKeepalive                                bool          `json:"reverse_proxy.keepalive"`
	ReverseProxyManualmode                               bool          `json:"reverse_proxy.manualmode"`
	ReverseProxyMaxConnectionsPerChild                   struct{}      `json:"reverse_proxy.max_connections_per_child"`
	ReverseProxyMaxPreforkProcesses                      int64         `json:"reverse_proxy.max_prefork_processes"`
	ReverseProxyMaxProcesses                             int64         `json:"reverse_proxy.max_processes"`
	ReverseProxyMaxSessionFiles                          int64         `json:"reverse_proxy.max_session_files"`
	ReverseProxyMaxSpareProcesses                        int64         `json:"reverse_proxy.max_spare_processes"`
	ReverseProxyMaxSpareThreads                          int64         `json:"reverse_proxy.max_spare_threads"`
	ReverseProxyMaxThreadsPerProcess                     int64         `json:"reverse_proxy.max_threads_per_process"`
	ReverseProxyMinSpareProcesses                        int64         `json:"reverse_proxy.min_spare_processes"`
	ReverseProxyMinSpareThreads                          int64         `json:"reverse_proxy.min_spare_threads"`
	ReverseProxyMinTLS                                   string        `json:"reverse_proxy.min_tls"`
	ReverseProxyModsecurityBeta                          bool          `json:"reverse_proxy.modsecurity_beta"`
	ReverseProxyMpmMode                                  string        `json:"reverse_proxy.mpm_mode"`
	ReverseProxyPatternversion                           string        `json:"reverse_proxy.patternversion"`
	ReverseProxyPort                                     int64         `json:"reverse_proxy.port"`
	ReverseProxyProxyprotocol                            bool          `json:"reverse_proxy.proxyprotocol"`
	ReverseProxyRequestLineLimit                         struct{}      `json:"reverse_proxy.request_line_limit"`
	ReverseProxySlowhttpExceptions                       []interface{} `json:"reverse_proxy.slowhttp_exceptions"`
	ReverseProxySlowhttpRequestHeaderTimeoutBase         int64         `json:"reverse_proxy.slowhttp_request_header_timeout_base"`
	ReverseProxySlowhttpRequestHeaderTimeoutEnabled      bool          `json:"reverse_proxy.slowhttp_request_header_timeout_enabled"`
	ReverseProxySlowhttpRequestHeaderTimeoutMax          int64         `json:"reverse_proxy.slowhttp_request_header_timeout_max"`
	ReverseProxySlowhttpRequestHeaderTimeoutRate         int64         `json:"reverse_proxy.slowhttp_request_header_timeout_rate"`
	ReverseProxyStatus                                   bool          `json:"reverse_proxy.status"`
	ReverseProxyTraceEnabled                             bool          `json:"reverse_proxy.trace_enabled"`
	ReverseProxyUrlhardeningsignkey                      string        `json:"reverse_proxy.urlhardeningsignkey"`
	ReverseProxyWhatkilledus                             bool          `json:"reverse_proxy.whatkilledus"`
	RoutesPolicy                                         []interface{} `json:"routes.policy"`
	RoutesStatic                                         []string      `json:"routes.static"`
	RoutingBgpMaximumPaths                               struct{}      `json:"routing.bgp.maximum_paths"`
	RoutingBgpMaximumPathsIbgp                           struct{}      `json:"routing.bgp.maximum_paths_ibgp"`
	RoutingBgpMultipleAs                                 bool          `json:"routing.bgp.multiple_as"`
	RoutingBgpStatus                                     bool          `json:"routing.bgp.status"`
	RoutingBgpStrictMatch                                bool          `json:"routing.bgp.strict_match"`
	RoutingBgpSystems                                    []interface{} `json:"routing.bgp.systems"`
	RoutingOspfAbrType                                   string        `json:"routing.ospf.abr_type"`
	RoutingOspfAreas                                     []interface{} `json:"routing.ospf.areas"`
	RoutingOspfDefaultInformation                        string        `json:"routing.ospf.default_information"`
	RoutingOspfDefaultRouteMetric                        int64         `json:"routing.ospf.default_route_metric"`
	RoutingOspfRedistributeBgpMetric                     int64         `json:"routing.ospf.redistribute.bgp.metric"`
	RoutingOspfRedistributeBgpStatus                     bool          `json:"routing.ospf.redistribute.bgp.status"`
	RoutingOspfRedistributeConnectedMetric               int64         `json:"routing.ospf.redistribute.connected.metric"`
	RoutingOspfRedistributeConnectedStatus               bool          `json:"routing.ospf.redistribute.connected.status"`
	RoutingOspfRedistributeIpsecStatus                   bool          `json:"routing.ospf.redistribute.ipsec.status"`
	RoutingOspfRedistributeSslVpnStatus                  bool          `json:"routing.ospf.redistribute.ssl_vpn.status"`
	RoutingOspfRedistributeStaticMetric                  int64         `json:"routing.ospf.redistribute.static.metric"`
	RoutingOspfRedistributeStaticStatus                  bool          `json:"routing.ospf.redistribute.static.status"`
	RoutingOspfReferenceBandwidth                        struct{}      `json:"routing.ospf.reference_bandwidth"`
	RoutingOspfRouterID                                  string        `json:"routing.ospf.router_id"`
	RoutingOspfStatus                                    bool          `json:"routing.ospf.status"`
	RoutingQuaggaAllowedNetworks                         []interface{} `json:"routing.quagga.allowed_networks"`
	RoutingQuaggaEnablePassword                          string        `json:"routing.quagga.enable_password"`
	RoutingQuaggaLinkDetect                              bool          `json:"routing.quagga.link_detect"`
	RoutingQuaggaPassword                                string        `json:"routing.quagga.password"`
	SandboxReportdDebug                                  string        `json:"sandbox_reportd.debug"`
	SandboxReportdPollInterval                           int64         `json:"sandbox_reportd.poll_interval"`
	SandboxReportdRequestTimeout                         int64         `json:"sandbox_reportd.request_timeout"`
	SandboxReportdRetryTimes                             int64         `json:"sandbox_reportd.retry_times"`
	SandboxdBypassSandboxLimit                           int64         `json:"sandboxd.bypass_sandbox_limit"`
	SandboxdCacheExpire                                  int64         `json:"sandboxd.cache_expire"`
	SandboxdCertstore                                    string        `json:"sandboxd.certstore"`
	SandboxdClientTimeout                                int64         `json:"sandboxd.client_timeout"`
	SandboxdCloudPollInterval                            int64         `json:"sandboxd.cloud_poll_interval"`
	SandboxdCloudPollRequestMaximum                      int64         `json:"sandboxd.cloud_poll_request_maximum"`
	SandboxdCloudPollTimeout                             int64         `json:"sandboxd.cloud_poll_timeout"`
	SandboxdConnectTimeout                               int64         `json:"sandboxd.connect_timeout"`
	SandboxdDebug                                        struct{}      `json:"sandboxd.debug"`
	SandboxdDhparams2048                                 string        `json:"sandboxd.dhparams_2048"`
	SandboxdEdgeServerCertValidation                     bool          `json:"sandboxd.edge_server_cert_validation"`
	SandboxdEdgeServerHost                               string        `json:"sandboxd.edge_server_host"`
	SandboxdEdgeServerPort                               int64         `json:"sandboxd.edge_server_port"`
	SandboxdFiletypeSkiplist                             []interface{} `json:"sandboxd.filetype_skiplist"`
	SandboxdNumOfEventThreads                            int64         `json:"sandboxd.num_of_event_threads"`
	SandboxdNumOfWorkerThreads                           int64         `json:"sandboxd.num_of_worker_threads"`
	SandboxdResponseTimeout                              int64         `json:"sandboxd.response_timeout"`
	SandboxdRetryIntervals                               string        `json:"sandboxd.retry_intervals"`
	SandboxdSandboxEnabled                               bool          `json:"sandboxd.sandbox_enabled"`
	SandboxdSandboxdScoreThreshold                       int64         `json:"sandboxd.sandboxd_score_threshold"`
	SandboxdSbxVersion                                   int64         `json:"sandboxd.sbx_version"`
	SandboxdSqliteBusyTimeout                            int64         `json:"sandboxd.sqlite_busy_timeout"`
	SandboxdSslCertFile                                  string        `json:"sandboxd.ssl_cert_file"`
	SandboxdSslKeyFile                                   string        `json:"sandboxd.ssl_key_file"`
	SandboxdSslciphers                                   string        `json:"sandboxd.sslciphers"`
	SettingsAdminEmail                                   string        `json:"settings.admin_email"`
	SettingsBasicSetup                                   bool          `json:"settings.basic_setup"`
	SettingsCcMode                                       bool          `json:"settings.cc_mode"`
	SettingsCity                                         string        `json:"settings.city"`
	SettingsCountry                                      string        `json:"settings.country"`
	SettingsExtraSwap                                    struct{}      `json:"settings.extra_swap"`
	SettingsHostname                                     string        `json:"settings.hostname"`
	SettingsIcsaMode                                     bool          `json:"settings.icsa_mode"`
	SettingsOrganization                                 string        `json:"settings.organization"`
	SettingsPasswordComplexityMinDigits                  int64         `json:"settings.password_complexity.min_digits"`
	SettingsPasswordComplexityMinLength                  int64         `json:"settings.password_complexity.min_length"`
	SettingsPasswordComplexityMinLowerChars              int64         `json:"settings.password_complexity.min_lower_chars"`
	SettingsPasswordComplexityMinSpecialChars            int64         `json:"settings.password_complexity.min_special_chars"`
	SettingsPasswordComplexityMinUpperChars              int64         `json:"settings.password_complexity.min_upper_chars"`
	SettingsPasswordComplexityStatus                     bool          `json:"settings.password_complexity.status"`
	SettingsPopularity                                   string        `json:"settings.popularity"`
	SettingsRasUpdate                                    string        `json:"settings.ras_update"`
	SettingsSystemID                                     string        `json:"settings.system_id"`
	SettingsTimezone                                     string        `json:"settings.timezone"`
	SipAllowedNetworks                                   []string      `json:"sip.allowed_networks"`
	SipExpectMode                                        string        `json:"sip.expect_mode"`
	SipLogRelated                                        bool          `json:"sip.log_related"`
	SipServers                                           []string      `json:"sip.servers"`
	SipStatus                                            bool          `json:"sip.status"`
	SmsClientHostname                                    string        `json:"sms_client.hostname"`
	SmsClientName                                        string        `json:"sms_client.name"`
	SmsClientPassword                                    string        `json:"sms_client.password"`
	SmsClientPort                                        struct{}      `json:"sms_client.port"`
	SmsClientStatus                                      bool          `json:"sms_client.status"`
	SmsClientUsername                                    string        `json:"sms_client.username"`
	SMTPAuthAaa                                          []interface{} `json:"smtp.auth_aaa"`
	SMTPAuthStatus                                       bool          `json:"smtp.auth_status"`
	SMTPAvFooter                                         string        `json:"smtp.av_footer"`
	SMTPAvFooterStatus                                   bool          `json:"smtp.av_footer_status"`
	SMTPBatvSecret                                       string        `json:"smtp.batv_secret"`
	SMTPBlockerService                                   string        `json:"smtp.blocker_service"`
	SMTPCffAsMarker                                      string        `json:"smtp.cff_as_marker"`
	SMTPDkimDomains                                      []interface{} `json:"smtp.dkim_domains"`
	SMTPDkimPrivateKey                                   string        `json:"smtp.dkim_private_key"`
	SMTPDkimSelector                                     string        `json:"smtp.dkim_selector"`
	SMTPEnableOldExpressionFilter                        bool          `json:"smtp.enable_old_expression_filter"`
	SMTPEncryptionUtility                                string        `json:"smtp.encryption_utility"`
	SMTPExceptions                                       []interface{} `json:"smtp.exceptions"`
	SMTPFootersMode                                      string        `json:"smtp.footers_mode"`
	SMTPGlobalAsReject                                   string        `json:"smtp.global_as_reject"`
	SMTPGlobalAvReject                                   bool          `json:"smtp.global_av_reject"`
	SMTPGlobalProfile                                    string        `json:"smtp.global_profile"`
	SMTPHostBlacklist                                    []interface{} `json:"smtp.host_blacklist"`
	SMTPHostname                                         string        `json:"smtp.hostname"`
	SMTPMaxMessageSize                                   int64         `json:"smtp.max_message_size"`
	SMTPMode                                             string        `json:"smtp.mode"`
	SMTPParentProxyAuthPass                              string        `json:"smtp.parent_proxy_auth_pass"`
	SMTPParentProxyAuthStatus                            bool          `json:"smtp.parent_proxy_auth_status"`
	SMTPParentProxyAuthUser                              string        `json:"smtp.parent_proxy_auth_user"`
	SMTPParentProxyHost                                  string        `json:"smtp.parent_proxy_host"`
	SMTPParentProxyPort                                  int64         `json:"smtp.parent_proxy_port"`
	SMTPParentProxyStatus                                bool          `json:"smtp.parent_proxy_status"`
	SMTPPostmaster                                       string        `json:"smtp.postmaster"`
	SMTPProfiles                                         []interface{} `json:"smtp.profiles"`
	SMTPRecipientsMax                                    int64         `json:"smtp.recipients_max"`
	SMTPRelays                                           []interface{} `json:"smtp.relays"`
	SMTPScanOutgoingEmails                               bool          `json:"smtp.scan_outgoing_emails"`
	SMTPScannerPoolMaxPool                               int64         `json:"smtp.scanner_pool.max_pool"`
	SMTPScannerPoolThresholds                            []int64       `json:"smtp.scanner_pool.thresholds"`
	SMTPScannerTimeout                                   int64         `json:"smtp.scanner_timeout"`
	SMTPSmarthostAuth                                    bool          `json:"smtp.smarthost_auth"`
	SMTPSmarthostHostname                                string        `json:"smtp.smarthost_hostname"`
	SMTPSmarthostPass                                    string        `json:"smtp.smarthost_pass"`
	SMTPSmarthostPort                                    int64         `json:"smtp.smarthost_port"`
	SMTPSmarthostStatus                                  bool          `json:"smtp.smarthost_status"`
	SMTPSmarthostUser                                    string        `json:"smtp.smarthost_user"`
	SMTPSmtpAcceptMax                                    int64         `json:"smtp.smtp_accept_max"`
	SMTPSmtpAcceptPerConnectionMax                       int64         `json:"smtp.smtp_accept_per_connection_max"`
	SMTPSmtpAcceptPerHostMax                             int64         `json:"smtp.smtp_accept_per_host_max"`
	SMTPStatus                                           bool          `json:"smtp.status"`
	SMTPTlsAvoid                                         []interface{} `json:"smtp.tls_avoid"`
	SMTPTlsCert                                          string        `json:"smtp.tls_cert"`
	SMTPTlsRequire                                       []interface{} `json:"smtp.tls_require"`
	SMTPTlsRequireSenderDomains                          []interface{} `json:"smtp.tls_require_sender_domains"`
	SMTPTlsVersion                                       string        `json:"smtp.tls_version"`
	SMTPTransparent                                      bool          `json:"smtp.transparent"`
	SMTPTransparentSkip                                  []interface{} `json:"smtp.transparent_skip"`
	SMTPTransparentSkipAutoPf                            bool          `json:"smtp.transparent_skip_auto_pf"`
	SMTPUpstreamHosts                                    []interface{} `json:"smtp.upstream_hosts"`
	SMTPUpstreamHostsOnly                                bool          `json:"smtp.upstream_hosts_only"`
	SnmpAllowedNetworks                                  []interface{} `json:"snmp.allowed_networks"`
	SnmpAuthPassword                                     string        `json:"snmp.auth_password"`
	SnmpAuthType                                         string        `json:"snmp.auth_type"`
	SnmpCommunity                                        string        `json:"snmp.community"`
	SnmpDeviceAdmin                                      string        `json:"snmp.device_admin"`
	SnmpDeviceLocation                                   string        `json:"snmp.device_location"`
	SnmpDeviceName                                       string        `json:"snmp.device_name"`
	SnmpEncryptPassword                                  string        `json:"snmp.encrypt_password"`
	SnmpEncryptType                                      string        `json:"snmp.encrypt_type"`
	SnmpStatus                                           bool          `json:"snmp.status"`
	SnmpTraps                                            []interface{} `json:"snmp.traps"`
	SnmpTrapsUseOldOids                                  bool          `json:"snmp.traps_use_old_oids"`
	SnmpUsername                                         string        `json:"snmp.username"`
	SnmpVersion                                          string        `json:"snmp.version"`
	SocksAaa                                             []string      `json:"socks.aaa"`
	SocksAllowedNetworks                                 []string      `json:"socks.allowed_networks"`
	SocksAuthentication                                  bool          `json:"socks.authentication"`
	SocksStatus                                          bool          `json:"socks.status"`
	SpxGlobalErrorNotificationTarget                     string        `json:"spx.global.error_notification_target"`
	SpxGlobalExpirySettingsAllowSecureReplyDays          int64         `json:"spx.global.expiry_settings.allow_secure_reply_days"`
	SpxGlobalExpirySettingsKeepDelayedMailDays           int64         `json:"spx.global.expiry_settings.keep_delayed_mail_days"`
	SpxGlobalExpirySettingsKeepUnusedPwdDays             int64         `json:"spx.global.expiry_settings.keep_unused_pwd_days"`
	SpxGlobalExpirySettingsRegistrationReminderDays      int64         `json:"spx.global.expiry_settings.registration_reminder_days"`
	SpxGlobalPasswordStrengthMinLength                   int64         `json:"spx.global.password_strength.min_length"`
	SpxGlobalPasswordStrengthRequireSpecChars            bool          `json:"spx.global.password_strength.require_spec_chars"`
	SpxGlobalPortalSettingsAllowedNetworks               []interface{} `json:"spx.global.portal_settings.allowed_networks"`
	SpxGlobalPortalSettingsHostname                      string        `json:"spx.global.portal_settings.hostname"`
	SpxGlobalPortalSettingsInterfaceAddress              string        `json:"spx.global.portal_settings.interface_address"`
	SpxGlobalPortalSettingsPort                          int64         `json:"spx.global.portal_settings.port"`
	SpxGlobalSpxPriority                                 bool          `json:"spx.global.spx_priority"`
	SpxGlobalStatus                                      bool          `json:"spx.global.status"`
	SpxSpxAuthPassword                                   string        `json:"spx.spx_auth.password"`
	SpxSpxAuthPort                                       int64         `json:"spx.spx_auth.port"`
	SpxSpxAuthServer                                     string        `json:"spx.spx_auth.server"`
	SpxSpxAuthUrl                                        string        `json:"spx.spx_auth.url"`
	SpxTemplates                                         []string      `json:"spx.templates"`
	SSHAllowedNetworks                                   []string      `json:"ssh.allowed_networks"`
	SSHLoginKeys                                         []string      `json:"ssh.login_keys"`
	SSHPasswordAuth                                      bool          `json:"ssh.password_auth"`
	SSHPort                                              int64         `json:"ssh.port"`
	SSHPubkeyAuth                                        bool          `json:"ssh.pubkey_auth"`
	SSHRootKeys                                          []string      `json:"ssh.root_keys"`
	SSHRootLogin                                         string        `json:"ssh.root_login"`
	SSHStatus                                            bool          `json:"ssh.status"`
	SslVpnAuthenticationAlgorithm                        string        `json:"ssl_vpn.authentication_algorithm"`
	SslVpnCertificate                                    string        `json:"ssl_vpn.certificate"`
	SslVpnCompression                                    bool          `json:"ssl_vpn.compression"`
	SslVpnDatachannelKeyLifetime                         int64         `json:"ssl_vpn.datachannel_key_lifetime"`
	SslVpnDebug                                          bool          `json:"ssl_vpn.debug"`
	SslVpnDhKeySize                                      string        `json:"ssl_vpn.dh_key_size"`
	SslVpnDuplicateCn                                    bool          `json:"ssl_vpn.duplicate_cn"`
	SslVpnEncryptionAlgorithm                            string        `json:"ssl_vpn.encryption_algorithm"`
	SslVpnHostname                                       string        `json:"ssl_vpn.hostname"`
	SslVpnInterface                                      string        `json:"ssl_vpn.interface"`
	SslVpnInterfaceAddress                               string        `json:"ssl_vpn.interface_address"`
	SslVpnIpAssignmentPool                               string        `json:"ssl_vpn.ip_assignment_pool"`
	SslVpnPort                                           int64         `json:"ssl_vpn.port"`
	SslVpnProtocol                                       string        `json:"ssl_vpn.protocol"`
	SslVpnUserAuthOptional                               bool          `json:"ssl_vpn.user_auth_optional"`
	SupportAccessAccessID                                string        `json:"support_access.access_id"`
	SupportAccessApuServer                               string        `json:"support_access.apu_server"`
	SupportAccessLifetimeDuration                        string        `json:"support_access.lifetime_duration"`
	SupportAccessLifetimeEnd                             struct{}      `json:"support_access.lifetime_end"`
	SupportAccessSshKeys                                 []interface{} `json:"support_access.ssh_keys"`
	SupportAccessStatus                                  bool          `json:"support_access.status"`
	U2DcacheAllowedNetworks                              []interface{} `json:"u2dcache.allowed_networks"`
	U2DcachePort                                         int64         `json:"u2dcache.port"`
	U2DcacheStatus                                       bool          `json:"u2dcache.status"`
	Up2DateCacheHost                                     string        `json:"up2date.cache_host"`
	Up2DateCachePort                                     int64         `json:"up2date.cache_port"`
	Up2DateCacheStatus                                   bool          `json:"up2date.cache_status"`
	Up2DateCacheUseAcc                                   bool          `json:"up2date.cache_use_acc"`
	Up2DateParentProxyAuthPass                           string        `json:"up2date.parent_proxy_auth_pass"`
	Up2DateParentProxyAuthStatus                         bool          `json:"up2date.parent_proxy_auth_status"`
	Up2DateParentProxyAuthUser                           string        `json:"up2date.parent_proxy_auth_user"`
	Up2DateParentProxyHost                               string        `json:"up2date.parent_proxy_host"`
	Up2DateParentProxyPort                               int64         `json:"up2date.parent_proxy_port"`
	Up2DateParentProxyStatus                             bool          `json:"up2date.parent_proxy_status"`
	Up2DatePatternDownloadInterval                       struct{}      `json:"up2date.pattern_download_interval"`
	Up2DatePatternDownloadStatus                         bool          `json:"up2date.pattern_download_status"`
	Up2DateScheduledUp2Date                              []interface{} `json:"up2date.scheduled_up2date"`
	Up2DateServers                                       []string      `json:"up2date.servers"`
	Up2DateStatus                                        bool          `json:"up2date.status"`
	Up2DateSystemAutoinstallTime                         string        `json:"up2date.system_autoinstall_time"`
	Up2DateSystemDownloadInterval                        int64         `json:"up2date.system_download_interval"`
	Up2DateSystemDownloadStatus                          bool          `json:"up2date.system_download_status"`
	UplinkActions                                        []interface{} `json:"uplink.actions"`
	UplinkActive                                         string        `json:"uplink.active"`
	UplinkCondition                                      string        `json:"uplink.condition"`
	UplinkInterfaces                                     string        `json:"uplink.interfaces"`
	UplinkMonitoring                                     bool          `json:"uplink.monitoring"`
	UplinkPassive                                        string        `json:"uplink.passive"`
	UplinkPrimary                                        string        `json:"uplink.primary"`
	UplinkRules                                          []string      `json:"uplink.rules"`
	UplinkScheduler                                      string        `json:"uplink.scheduler"`
	UplinkStatus                                         bool          `json:"uplink.status"`
	WebadminAllowedNetworks                              []string      `json:"webadmin.allowed_networks"`
	WebadminCa                                           string        `json:"webadmin.ca"`
	WebadminCert                                         string        `json:"webadmin.cert"`
	WebadminDashboardRefresh                             string        `json:"webadmin.dashboard_refresh"`
	WebadminLanguage                                     string        `json:"webadmin.language"`
	WebadminLogAdminConnect                              bool          `json:"webadmin.log_admin_connect"`
	WebadminOfferWizard                                  bool          `json:"webadmin.offer_wizard"`
	WebadminPort                                         int64         `json:"webadmin.port"`
	WebadminRestAPI                                      bool          `json:"webadmin.rest_api"`
	WebadminTermsOfUseStatus                             bool          `json:"webadmin.terms_of_use.status"`
	WebadminTermsOfUseText                               string        `json:"webadmin.terms_of_use.text"`
	WebadminTimeout                                      int64         `json:"webadmin.timeout"`
	WebadminTimeoutOnDashboard                           bool          `json:"webadmin.timeout_on_dashboard"`
	WebadminTlsCiphers                                   string        `json:"webadmin.tls_ciphers"`
	WebadminTlsProtocols                                 string        `json:"webadmin.tls_protocols"`
}

Nodes is a generated struct representing the Sophos Nodes Endpoint GET /api/nodes

func (Nodes) ApiRoutes

func (Nodes) ApiRoutes() []string

ApiRoutes returns all known Nodes Paths

func (Nodes) Definition

func (Nodes) Definition() sophos.Definition

Definition returns the /api/definitions struct of Nodes

func (*Nodes) GetPath

func (*Nodes) GetPath() string

GetPath implements sophos.RestGetter

func (*Nodes) RefRequired

func (*Nodes) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Nodes) References

func (Nodes) References() []string

References returns the Nodes's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Nodes) RestObjects

func (Nodes) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Nodes's Objects

type Notification

type Notification struct {
	NotificationGroup        NotificationGroup        `json:"notification_group"`
	NotificationNotification NotificationNotification `json:"notification_notification"`
}

Notification is a generated struct representing the Sophos Notification Endpoint GET /api/nodes/notification

func (Notification) ApiRoutes

func (Notification) ApiRoutes() []string

ApiRoutes returns all known Notification Paths

func (Notification) Definition

func (Notification) Definition() sophos.Definition

Definition returns the /api/definitions struct of Notification

func (*Notification) GetPath

func (*Notification) GetPath() string

GetPath implements sophos.RestGetter

func (*Notification) RefRequired

func (*Notification) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Notification) References

func (Notification) References() []string

References returns the Notification's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Notification) RestObjects

func (Notification) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Notification's Objects

type NotificationGroup

type NotificationGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

NotificationGroup represents a UTM group

func (*NotificationGroup) DeletePath

func (*NotificationGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NotificationGroup DELETE path Creates or updates the complete object group

func (*NotificationGroup) GetPath

func (n *NotificationGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NotificationGroups GET path Returns all available group types

func (*NotificationGroup) PatchPath

func (*NotificationGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NotificationGroup PATCH path Changes to parts of the object group types

func (*NotificationGroup) PostPath

func (*NotificationGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NotificationGroup POST path Create a new notification/group object

func (*NotificationGroup) PutPath

func (*NotificationGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NotificationGroup PUT path Creates or updates the complete object group

func (*NotificationGroup) RefRequired

func (n *NotificationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NotificationGroup) UsedByPath

func (*NotificationGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NotificationGroups added in v0.1.1

type NotificationGroups []NotificationGroup

NotificationGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*NotificationGroups) GetPath added in v0.1.1

func (*NotificationGroups) GetPath() string

GetPath implements sophos.RestObject and returns the NotificationGroups GET path Returns all available notification/group objects

func (*NotificationGroups) RefRequired added in v0.1.1

func (*NotificationGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NotificationNotification

type NotificationNotification struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Snmp default value is false
	Snmp    bool   `json:"snmp"`
	Comment string `json:"comment"`
	// Email default value is false
	Email bool   `json:"email"`
	Id    string `json:"id"`
	Name  string `json:"name"`
}

NotificationNotification represents a UTM notification

func (*NotificationNotification) DeletePath

func (*NotificationNotification) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NotificationNotification DELETE path Creates or updates the complete object notification

func (*NotificationNotification) GetPath

func (n *NotificationNotification) GetPath() string

GetPath implements sophos.RestObject and returns the NotificationNotifications GET path Returns all available notification types

func (*NotificationNotification) PatchPath

func (*NotificationNotification) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NotificationNotification PATCH path Changes to parts of the object notification types

func (*NotificationNotification) PostPath

func (*NotificationNotification) PostPath() string

PostPath implements sophos.RestObject and returns the NotificationNotification POST path Create a new notification/notification object

func (*NotificationNotification) PutPath

func (*NotificationNotification) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NotificationNotification PUT path Creates or updates the complete object notification

func (*NotificationNotification) RefRequired

func (n *NotificationNotification) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NotificationNotification) UsedByPath

func (*NotificationNotification) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NotificationNotifications added in v0.1.1

type NotificationNotifications []NotificationNotification

NotificationNotifications is an Sophos Endpoint subType and implements sophos.RestObject

func (*NotificationNotifications) GetPath added in v0.1.1

func (*NotificationNotifications) GetPath() string

GetPath implements sophos.RestObject and returns the NotificationNotifications GET path Returns all available notification/notification objects

func (*NotificationNotifications) RefRequired added in v0.1.1

func (*NotificationNotifications) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Ospf

type Ospf struct {
	OspfArea             OspfArea             `json:"ospf_area"`
	OspfGroup            OspfGroup            `json:"ospf_group"`
	OspfInterface        OspfInterface        `json:"ospf_interface"`
	OspfMessageDigestKey OspfMessageDigestKey `json:"ospf_message_digest_key"`
}

Ospf is a generated struct representing the Sophos Ospf Endpoint GET /api/nodes/ospf

func (Ospf) ApiRoutes

func (Ospf) ApiRoutes() []string

ApiRoutes returns all known Ospf Paths

func (Ospf) Definition

func (Ospf) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ospf

func (*Ospf) GetPath

func (*Ospf) GetPath() string

GetPath implements sophos.RestGetter

func (*Ospf) RefRequired

func (*Ospf) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ospf) References

func (Ospf) References() []string

References returns the Ospf's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ospf) RestObjects

func (Ospf) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ospf's Objects

type OspfArea

type OspfArea struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Id description: (IPADDR)
	Id         string        `json:"id"`
	Interfaces []interface{} `json:"interfaces"`
	Name       string        `json:"name"`
	// Type can be one of: []string{"normal", "stub", "nssa", "stub no-summary", "nssa no-summary"}
	// Type default value is "normal"
	Type         string        `json:"type"`
	VirtualLinks []interface{} `json:"virtual_links"`
	// Authentication can be one of: []string{"message-digest", "plain-text", "null"}
	Authentication string `json:"authentication"`
	Comment        string `json:"comment"`
	DefaultCost    int    `json:"default_cost"`
}

OspfArea represents a UTM OSPF area

func (*OspfArea) DeletePath

func (*OspfArea) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfArea DELETE path Creates or updates the complete object area

func (*OspfArea) GetPath

func (o *OspfArea) GetPath() string

GetPath implements sophos.RestObject and returns the OspfAreas GET path Returns all available area types

func (*OspfArea) PatchPath

func (*OspfArea) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfArea PATCH path Changes to parts of the object area types

func (*OspfArea) PostPath

func (*OspfArea) PostPath() string

PostPath implements sophos.RestObject and returns the OspfArea POST path Create a new ospf/area object

func (*OspfArea) PutPath

func (*OspfArea) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfArea PUT path Creates or updates the complete object area

func (*OspfArea) RefRequired

func (o *OspfArea) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfArea) UsedByPath

func (*OspfArea) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfAreas added in v0.1.1

type OspfAreas []OspfArea

OspfAreas is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfAreas) GetPath added in v0.1.1

func (*OspfAreas) GetPath() string

GetPath implements sophos.RestObject and returns the OspfAreas GET path Returns all available ospf/area objects

func (*OspfAreas) RefRequired added in v0.1.1

func (*OspfAreas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type OspfGroup

type OspfGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

OspfGroup represents a UTM group

func (*OspfGroup) DeletePath

func (*OspfGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfGroup DELETE path Creates or updates the complete object group

func (*OspfGroup) GetPath

func (o *OspfGroup) GetPath() string

GetPath implements sophos.RestObject and returns the OspfGroups GET path Returns all available group types

func (*OspfGroup) PatchPath

func (*OspfGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfGroup PATCH path Changes to parts of the object group types

func (*OspfGroup) PostPath

func (*OspfGroup) PostPath() string

PostPath implements sophos.RestObject and returns the OspfGroup POST path Create a new ospf/group object

func (*OspfGroup) PutPath

func (*OspfGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfGroup PUT path Creates or updates the complete object group

func (*OspfGroup) RefRequired

func (o *OspfGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfGroup) UsedByPath

func (*OspfGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfGroups added in v0.1.1

type OspfGroups []OspfGroup

OspfGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfGroups) GetPath added in v0.1.1

func (*OspfGroups) GetPath() string

GetPath implements sophos.RestObject and returns the OspfGroups GET path Returns all available ospf/group objects

func (*OspfGroups) RefRequired added in v0.1.1

func (*OspfGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type OspfInterface

type OspfInterface struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// RetransmitInterval description: Constraints: 0, 3-65535
	RetransmitInterval int `json:"retransmit_interval"`
	// Authentication can be one of: []string{"message-digest", "plain-text", "null"}
	Authentication string `json:"authentication"`
	// AuthenticationKey description: (REGEX)
	AuthenticationKey string `json:"authentication_key"`
	Comment           string `json:"comment"`
	// HelloInterval description: Constraints: 0, 1-65535
	HelloInterval int `json:"hello_interval"`
	// Interface description: REF(interface/*)
	Interface         string        `json:"interface"`
	MessageDigestKeys []interface{} `json:"message_digest_keys"`
	Priority          int           `json:"priority"`
	// TransmitDelay description: Constraints: 0, 1-65535
	TransmitDelay int `json:"transmit_delay"`
	Cost          int `json:"cost"`
	// DeadInterval description: Constraints: 0, 1-65535
	DeadInterval int    `json:"dead_interval"`
	Name         string `json:"name"`
}

OspfInterface represents a UTM OSPF interface

func (*OspfInterface) DeletePath

func (*OspfInterface) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfInterface DELETE path Creates or updates the complete object interface

func (*OspfInterface) GetPath

func (o *OspfInterface) GetPath() string

GetPath implements sophos.RestObject and returns the OspfInterfaces GET path Returns all available interface types

func (*OspfInterface) PatchPath

func (*OspfInterface) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfInterface PATCH path Changes to parts of the object interface types

func (*OspfInterface) PostPath

func (*OspfInterface) PostPath() string

PostPath implements sophos.RestObject and returns the OspfInterface POST path Create a new ospf/interface object

func (*OspfInterface) PutPath

func (*OspfInterface) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfInterface PUT path Creates or updates the complete object interface

func (*OspfInterface) RefRequired

func (o *OspfInterface) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfInterface) UsedByPath

func (*OspfInterface) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfInterfaces added in v0.1.1

type OspfInterfaces []OspfInterface

OspfInterfaces is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfInterfaces) GetPath added in v0.1.1

func (*OspfInterfaces) GetPath() string

GetPath implements sophos.RestObject and returns the OspfInterfaces GET path Returns all available ospf/interface objects

func (*OspfInterfaces) RefRequired added in v0.1.1

func (*OspfInterfaces) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type OspfMessageDigestKey

type OspfMessageDigestKey struct {
	Locked             string `json:"_locked"`
	ObjectType         string `json:"_type"`
	Reference          string `json:"_ref"`
	MessageDigestKeyId int    `json:"message_digest_key_id"`
	Name               string `json:"name"`
	Comment            string `json:"comment"`
	// MessageDigestKey description: (REGEX)
	MessageDigestKey string `json:"message_digest_key"`
}

OspfMessageDigestKey represents a UTM OSPF message digest key

func (*OspfMessageDigestKey) DeletePath

func (*OspfMessageDigestKey) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfMessageDigestKey DELETE path Creates or updates the complete object message_digest_key

func (*OspfMessageDigestKey) GetPath

func (o *OspfMessageDigestKey) GetPath() string

GetPath implements sophos.RestObject and returns the OspfMessageDigestKeys GET path Returns all available message_digest_key types

func (*OspfMessageDigestKey) PatchPath

func (*OspfMessageDigestKey) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfMessageDigestKey PATCH path Changes to parts of the object message_digest_key types

func (*OspfMessageDigestKey) PostPath

func (*OspfMessageDigestKey) PostPath() string

PostPath implements sophos.RestObject and returns the OspfMessageDigestKey POST path Create a new ospf/message_digest_key object

func (*OspfMessageDigestKey) PutPath

func (*OspfMessageDigestKey) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfMessageDigestKey PUT path Creates or updates the complete object message_digest_key

func (*OspfMessageDigestKey) RefRequired

func (o *OspfMessageDigestKey) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfMessageDigestKey) UsedByPath

func (*OspfMessageDigestKey) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfMessageDigestKeys added in v0.1.1

type OspfMessageDigestKeys []OspfMessageDigestKey

OspfMessageDigestKeys is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfMessageDigestKeys) GetPath added in v0.1.1

func (*OspfMessageDigestKeys) GetPath() string

GetPath implements sophos.RestObject and returns the OspfMessageDigestKeys GET path Returns all available ospf/message_digest_key objects

func (*OspfMessageDigestKeys) RefRequired added in v0.1.1

func (*OspfMessageDigestKeys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Override

type Override struct {
	OverrideGroup  OverrideGroup  `json:"override_group"`
	OverrideObjref OverrideObjref `json:"override_objref"`
}

Override is a generated struct representing the Sophos Override Endpoint GET /api/nodes/override

func (Override) ApiRoutes

func (Override) ApiRoutes() []string

ApiRoutes returns all known Override Paths

func (Override) Definition

func (Override) Definition() sophos.Definition

Definition returns the /api/definitions struct of Override

func (*Override) GetPath

func (*Override) GetPath() string

GetPath implements sophos.RestGetter

func (*Override) RefRequired

func (*Override) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Override) References

func (Override) References() []string

References returns the Override's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Override) RestObjects

func (Override) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Override's Objects

type OverrideGroup

type OverrideGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

OverrideGroup represents a UTM group

func (*OverrideGroup) DeletePath

func (*OverrideGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OverrideGroup DELETE path Creates or updates the complete object group

func (*OverrideGroup) GetPath

func (o *OverrideGroup) GetPath() string

GetPath implements sophos.RestObject and returns the OverrideGroups GET path Returns all available group types

func (*OverrideGroup) PatchPath

func (*OverrideGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OverrideGroup PATCH path Changes to parts of the object group types

func (*OverrideGroup) PostPath

func (*OverrideGroup) PostPath() string

PostPath implements sophos.RestObject and returns the OverrideGroup POST path Create a new override/group object

func (*OverrideGroup) PutPath

func (*OverrideGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OverrideGroup PUT path Creates or updates the complete object group

func (*OverrideGroup) RefRequired

func (o *OverrideGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OverrideGroup) UsedByPath

func (*OverrideGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OverrideGroups added in v0.1.1

type OverrideGroups []OverrideGroup

OverrideGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*OverrideGroups) GetPath added in v0.1.1

func (*OverrideGroups) GetPath() string

GetPath implements sophos.RestObject and returns the OverrideGroups GET path Returns all available override/group objects

func (*OverrideGroups) RefRequired added in v0.1.1

func (*OverrideGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type OverrideObjref

type OverrideObjref struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	// Ref description: REF(/*)
	Ref     string `json:"ref"`
	Value   string `json:"value"`
	Attr    string `json:"attr"`
	Comment string `json:"comment"`
	// Condition description: REF(condition/*)
	Condition string `json:"condition"`
}

OverrideObjref represents a UTM monitoring action

func (*OverrideObjref) DeletePath

func (*OverrideObjref) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OverrideObjref DELETE path Creates or updates the complete object objref

func (*OverrideObjref) GetPath

func (o *OverrideObjref) GetPath() string

GetPath implements sophos.RestObject and returns the OverrideObjrefs GET path Returns all available objref types

func (*OverrideObjref) PatchPath

func (*OverrideObjref) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OverrideObjref PATCH path Changes to parts of the object objref types

func (*OverrideObjref) PostPath

func (*OverrideObjref) PostPath() string

PostPath implements sophos.RestObject and returns the OverrideObjref POST path Create a new override/objref object

func (*OverrideObjref) PutPath

func (*OverrideObjref) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OverrideObjref PUT path Creates or updates the complete object objref

func (*OverrideObjref) RefRequired

func (o *OverrideObjref) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OverrideObjref) UsedByPath

func (*OverrideObjref) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OverrideObjrefs added in v0.1.1

type OverrideObjrefs []OverrideObjref

OverrideObjrefs is an Sophos Endpoint subType and implements sophos.RestObject

func (*OverrideObjrefs) GetPath added in v0.1.1

func (*OverrideObjrefs) GetPath() string

GetPath implements sophos.RestObject and returns the OverrideObjrefs GET path Returns all available override/objref objects

func (*OverrideObjrefs) RefRequired added in v0.1.1

func (*OverrideObjrefs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Packetfilter

type Packetfilter struct {
	Advanced struct {
		BlockInvalidCtPackets int64    `json:"block_invalid_ct_packets"`
		CheckPacketLength     int64    `json:"check_packet_length"`
		ConntrackHelpers      []string `json:"conntrack_helpers"`
		FtpPorts              []int64  `json:"ftp_ports"`
		LogBroadcasts         int64    `json:"log_broadcasts"`
		LogDNSRequests        int64    `json:"log_dns_requests"`
		LogFtpData            int64    `json:"log_ftp_data"`
		LogInvalid            int64    `json:"log_invalid"`
		LogMcast              int64    `json:"log_mcast"`
		LogStrictTcpState     string   `json:"log_strict_tcp_state"`
		NoErrorReplay         int64    `json:"no_error_replay"`
		Optimize              struct {
			Ipset string `json:"ipset"`
			Ports int64  `json:"ports"`
		} `json:"optimize"`
		SpoofProtection  string `json:"spoof_protection"`
		StrictTcpState   int64  `json:"strict_tcp_state"`
		TcpMaxRetrans    int64  `json:"tcp_max_retrans"`
		TcpWindowScaling int64  `json:"tcp_window_scaling"`
	} `json:"advanced"`
	Rules      []string `json:"rules"`
	RulesAuto  []string `json:"rules_auto"`
	RulesBack  string   `json:"rules_back"`
	RulesFront string   `json:"rules_front"`
	Timeouts   struct {
		IPConntrackGenericTimeout        int64 `json:"ip_conntrack_generic_timeout"`
		IPConntrackIcmpTimeout           int64 `json:"ip_conntrack_icmp_timeout"`
		IPConntrackTcpTimeoutClose       int64 `json:"ip_conntrack_tcp_timeout_close"`
		IPConntrackTcpTimeoutCloseWait   int64 `json:"ip_conntrack_tcp_timeout_close_wait"`
		IPConntrackTcpTimeoutEstablished int64 `json:"ip_conntrack_tcp_timeout_established"`
		IPConntrackTcpTimeoutFinWait     int64 `json:"ip_conntrack_tcp_timeout_fin_wait"`
		IPConntrackTcpTimeoutLastAck     int64 `json:"ip_conntrack_tcp_timeout_last_ack"`
		IPConntrackTcpTimeoutMaxRetrans  int64 `json:"ip_conntrack_tcp_timeout_max_retrans"`
		IPConntrackTcpTimeoutSynRecv     int64 `json:"ip_conntrack_tcp_timeout_syn_recv"`
		IPConntrackTcpTimeoutSynSent     int64 `json:"ip_conntrack_tcp_timeout_syn_sent"`
		IPConntrackTcpTimeoutTimeWait    int64 `json:"ip_conntrack_tcp_timeout_time_wait"`
		IPConntrackUdpTimeout            int64 `json:"ip_conntrack_udp_timeout"`
		IPConntrackUdpTimeoutStream      int64 `json:"ip_conntrack_udp_timeout_stream"`
	} `json:"timeouts"`
}

Packetfilter is a generated struct representing the Sophos Packetfilter Endpoint GET /api/nodes/packetfilter

func (Packetfilter) ApiRoutes

func (Packetfilter) ApiRoutes() []string

ApiRoutes returns all known Packetfilter Paths

func (Packetfilter) Definition

func (Packetfilter) Definition() sophos.Definition

Definition returns the /api/definitions struct of Packetfilter

func (*Packetfilter) GetPath

func (*Packetfilter) GetPath() string

GetPath implements sophos.RestGetter

func (*Packetfilter) RefRequired

func (*Packetfilter) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Packetfilter) References

func (Packetfilter) References() []string

References returns the Packetfilter's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Packetfilter) RestObjects

func (Packetfilter) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Packetfilter's Objects

type Packetfilter1to1Nat

type Packetfilter1to1Nat struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Service description: REF(service/*)
	Service string `json:"service"`
	// Source description: REF(network/*)
	Source string `json:"source"`
	// AutoPfIn description: REF(packetfilter/packetfilter)
	// AutoPfIn default value is ""
	AutoPfIn string `json:"auto_pf_in"`
	// Destination description: REF(network/*)
	Destination string `json:"destination"`
	// Group default value is ""
	Group string `json:"group"`
	// Log default value is false
	Log bool `json:"log"`
	// MapTo description: REF(network/network)
	MapTo string `json:"map_to"`
	// AutoPfrule default value is false
	AutoPfrule bool   `json:"auto_pfrule"`
	Comment    string `json:"comment"`
	// Mode can be one of: []string{"mapsrc", "mapdst"}
	Mode string `json:"mode"`
	Name string `json:"name"`
	// Status default value is false
	Status bool `json:"status"`
}

Packetfilter1to1Nat represents a UTM 1to1nat

func (*Packetfilter1to1Nat) DeletePath

func (*Packetfilter1to1Nat) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Packetfilter1to1Nat DELETE path Creates or updates the complete object 1to1nat

func (*Packetfilter1to1Nat) GetPath

func (p *Packetfilter1to1Nat) GetPath() string

GetPath implements sophos.RestObject and returns the Packetfilter1to1Nats GET path Returns all available 1to1nat types

func (*Packetfilter1to1Nat) PatchPath

func (*Packetfilter1to1Nat) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Packetfilter1to1Nat PATCH path Changes to parts of the object 1to1nat types

func (*Packetfilter1to1Nat) PostPath

func (*Packetfilter1to1Nat) PostPath() string

PostPath implements sophos.RestObject and returns the Packetfilter1to1Nat POST path Create a new packetfilter/1to1nat object

func (*Packetfilter1to1Nat) PutPath

func (*Packetfilter1to1Nat) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Packetfilter1to1Nat PUT path Creates or updates the complete object 1to1nat

func (*Packetfilter1to1Nat) RefRequired

func (p *Packetfilter1to1Nat) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Packetfilter1to1Nat) UsedByPath

func (*Packetfilter1to1Nat) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Packetfilter1to1Nats added in v0.1.1

type Packetfilter1to1Nats []Packetfilter1to1Nat

Packetfilter1to1Nats is an Sophos Endpoint subType and implements sophos.RestObject

func (*Packetfilter1to1Nats) GetPath added in v0.1.1

func (*Packetfilter1to1Nats) GetPath() string

GetPath implements sophos.RestObject and returns the Packetfilter1to1Nats GET path Returns all available packetfilter/1to1nat objects

func (*Packetfilter1to1Nats) RefRequired added in v0.1.1

func (*Packetfilter1to1Nats) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterGenericProxy

type PacketfilterGenericProxy struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Toservice description: REF(service/*)
	Toservice       string        `json:"toservice"`
	AllowedNetworks []interface{} `json:"allowed_networks"`
	Comment         string        `json:"comment"`
	// Ininterface description: REF(interface/*)
	Ininterface string `json:"ininterface"`
	Name        string `json:"name"`
	// Service description: REF(service/*)
	Service string `json:"service"`
	// Status default value is false
	Status bool `json:"status"`
	// Tohost description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Tohost string `json:"tohost"`
}

PacketfilterGenericProxy represents a UTM generic proxy rule

func (*PacketfilterGenericProxy) DeletePath

func (*PacketfilterGenericProxy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterGenericProxy DELETE path Creates or updates the complete object generic_proxy

func (*PacketfilterGenericProxy) GetPath

func (p *PacketfilterGenericProxy) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterGenericProxys GET path Returns all available generic_proxy types

func (*PacketfilterGenericProxy) PatchPath

func (*PacketfilterGenericProxy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterGenericProxy PATCH path Changes to parts of the object generic_proxy types

func (*PacketfilterGenericProxy) PostPath

func (*PacketfilterGenericProxy) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterGenericProxy POST path Create a new packetfilter/generic_proxy object

func (*PacketfilterGenericProxy) PutPath

func (*PacketfilterGenericProxy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterGenericProxy PUT path Creates or updates the complete object generic_proxy

func (*PacketfilterGenericProxy) RefRequired

func (p *PacketfilterGenericProxy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterGenericProxy) UsedByPath

func (*PacketfilterGenericProxy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterGenericProxys added in v0.1.1

type PacketfilterGenericProxys []PacketfilterGenericProxy

PacketfilterGenericProxys is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterGenericProxys) GetPath added in v0.1.1

func (*PacketfilterGenericProxys) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterGenericProxys GET path Returns all available packetfilter/generic_proxy objects

func (*PacketfilterGenericProxys) RefRequired added in v0.1.1

func (*PacketfilterGenericProxys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterGroup

type PacketfilterGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

PacketfilterGroup represents a UTM group

func (*PacketfilterGroup) DeletePath

func (*PacketfilterGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterGroup DELETE path Creates or updates the complete object group

func (*PacketfilterGroup) GetPath

func (p *PacketfilterGroup) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterGroups GET path Returns all available group types

func (*PacketfilterGroup) PatchPath

func (*PacketfilterGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterGroup PATCH path Changes to parts of the object group types

func (*PacketfilterGroup) PostPath

func (*PacketfilterGroup) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterGroup POST path Create a new packetfilter/group object

func (*PacketfilterGroup) PutPath

func (*PacketfilterGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterGroup PUT path Creates or updates the complete object group

func (*PacketfilterGroup) RefRequired

func (p *PacketfilterGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterGroup) UsedByPath

func (*PacketfilterGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterGroups added in v0.1.1

type PacketfilterGroups []PacketfilterGroup

PacketfilterGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterGroups) GetPath added in v0.1.1

func (*PacketfilterGroups) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterGroups GET path Returns all available packetfilter/group objects

func (*PacketfilterGroups) RefRequired added in v0.1.1

func (*PacketfilterGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterLoadbalance

type PacketfilterLoadbalance struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Scheduler description: REF(scheduler/loadbalance)
	// Scheduler default value is ""
	Scheduler string `json:"scheduler"`
	// Status default value is false
	Status bool `json:"status"`
	// AutoPfIn description: REF(packetfilter/packetfilter)
	// AutoPfIn default value is ""
	AutoPfIn string `json:"auto_pf_in"`
	// Destination description: REF(network/*)
	Destination         string        `json:"destination"`
	DestinationNatGroup []interface{} `json:"destination_nat_group"`
	// ShutdownAddress default value is false
	ShutdownAddress bool `json:"shutdown_address"`
	// DestinationNatStatus description: (HASH)
	DestinationNatStatus interface{} `json:"destination_nat_status"`
	// DestinationNatStatus6 description: (HASH)
	DestinationNatStatus6 interface{} `json:"destination_nat_status6"`
	Name                  string      `json:"name"`
	// Service description: REF(service/*)
	Service string `json:"service"`
	// ShutdownCondition description: REF(condition/objref)
	// ShutdownCondition default value is ""
	ShutdownCondition string `json:"shutdown_condition"`
	// ShutdownOverride description: REF(override/objref)
	// ShutdownOverride default value is ""
	ShutdownOverride string `json:"shutdown_override"`
	// AutoPfrule default value is true
	AutoPfrule bool   `json:"auto_pfrule"`
	Comment    string `json:"comment"`
}

PacketfilterLoadbalance represents a UTM load balancing rule

func (*PacketfilterLoadbalance) DeletePath

func (*PacketfilterLoadbalance) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterLoadbalance DELETE path Creates or updates the complete object loadbalance

func (*PacketfilterLoadbalance) GetPath

func (p *PacketfilterLoadbalance) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterLoadbalances GET path Returns all available loadbalance types

func (*PacketfilterLoadbalance) PatchPath

func (*PacketfilterLoadbalance) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterLoadbalance PATCH path Changes to parts of the object loadbalance types

func (*PacketfilterLoadbalance) PostPath

func (*PacketfilterLoadbalance) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterLoadbalance POST path Create a new packetfilter/loadbalance object

func (*PacketfilterLoadbalance) PutPath

func (*PacketfilterLoadbalance) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterLoadbalance PUT path Creates or updates the complete object loadbalance

func (*PacketfilterLoadbalance) RefRequired

func (p *PacketfilterLoadbalance) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterLoadbalance) UsedByPath

func (*PacketfilterLoadbalance) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterLoadbalances added in v0.1.1

type PacketfilterLoadbalances []PacketfilterLoadbalance

PacketfilterLoadbalances is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterLoadbalances) GetPath added in v0.1.1

func (*PacketfilterLoadbalances) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterLoadbalances GET path Returns all available packetfilter/loadbalance objects

func (*PacketfilterLoadbalances) RefRequired added in v0.1.1

func (*PacketfilterLoadbalances) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterMangle

type PacketfilterMangle struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Destination description: REF(network/*)
	Destination string `json:"destination"`
	// Direction can be one of: []string{"in", "out"}
	Direction string `json:"direction"`
	Name      string `json:"name"`
	// Service description: REF(service/*)
	Service string `json:"service"`
	// Source description: REF(network/*)
	Source string `json:"source"`
	// Status default value is false
	Status  bool          `json:"status"`
	Action  []interface{} `json:"action"`
	Comment string        `json:"comment"`
}

PacketfilterMangle represents a UTM packet mangle rule

func (*PacketfilterMangle) DeletePath

func (*PacketfilterMangle) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterMangle DELETE path Creates or updates the complete object mangle

func (*PacketfilterMangle) GetPath

func (p *PacketfilterMangle) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMangles GET path Returns all available mangle types

func (*PacketfilterMangle) PatchPath

func (*PacketfilterMangle) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterMangle PATCH path Changes to parts of the object mangle types

func (*PacketfilterMangle) PostPath

func (*PacketfilterMangle) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterMangle POST path Create a new packetfilter/mangle object

func (*PacketfilterMangle) PutPath

func (*PacketfilterMangle) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterMangle PUT path Creates or updates the complete object mangle

func (*PacketfilterMangle) RefRequired

func (p *PacketfilterMangle) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterMangle) UsedByPath

func (*PacketfilterMangle) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterMangles added in v0.1.1

type PacketfilterMangles []PacketfilterMangle

PacketfilterMangles is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterMangles) GetPath added in v0.1.1

func (*PacketfilterMangles) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMangles GET path Returns all available packetfilter/mangle objects

func (*PacketfilterMangles) RefRequired added in v0.1.1

func (*PacketfilterMangles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterMasq

type PacketfilterMasq struct {
	Locked                   string `json:"_locked"`
	Reference                string `json:"_ref"`
	ObjectType               string `json:"_type"`
	AdditionalAddress        string `json:"additional_address"`
	AdditionalAddressRestore string `json:"additional_address_restore"`
	Comment                  string `json:"comment"`
	Name                     string `json:"name"`
	Source                   string `json:"source"`
	SourceNatInterface       string `json:"source_nat_interface"`
	Status                   bool   `json:"status"`
}

PacketfilterMasq is a generated Sophos object

func (*PacketfilterMasq) DeletePath

func (*PacketfilterMasq) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterMasq DELETE path Creates or updates the complete object masq

func (*PacketfilterMasq) GetPath

func (p *PacketfilterMasq) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMasqs GET path Returns all available masq types

func (*PacketfilterMasq) GetType

func (p *PacketfilterMasq) GetType() string

GetType implements sophos.Object

func (*PacketfilterMasq) PatchPath

func (*PacketfilterMasq) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterMasq PATCH path Changes to parts of the object masq types

func (*PacketfilterMasq) PostPath

func (*PacketfilterMasq) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterMasq POST path Create a new packetfilter/masq object

func (*PacketfilterMasq) PutPath

func (*PacketfilterMasq) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterMasq PUT path Creates or updates the complete object masq

func (*PacketfilterMasq) RefRequired

func (p *PacketfilterMasq) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterMasq) UsedByPath

func (*PacketfilterMasq) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterMasqs

type PacketfilterMasqs []PacketfilterMasq

PacketfilterMasqs is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterMasqs) GetPath

func (*PacketfilterMasqs) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMasqs GET path Returns all available packetfilter/masq objects

func (*PacketfilterMasqs) RefRequired

func (*PacketfilterMasqs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterNat

type PacketfilterNat struct {
	Locked                string `json:"_locked"`
	Reference             string `json:"_ref"`
	ObjectType            string `json:"_type"`
	AutoPfIn              string `json:"auto_pf_in"`
	AutoPfrule            bool   `json:"auto_pfrule"`
	Comment               string `json:"comment"`
	Destination           string `json:"destination"`
	DestinationNatAddress string `json:"destination_nat_address"`
	DestinationNatService string `json:"destination_nat_service"`
	Group                 string `json:"group"`
	Ipsec                 bool   `json:"ipsec"`
	Log                   bool   `json:"log"`
	Mode                  string `json:"mode"`
	Name                  string `json:"name"`
	Service               string `json:"service"`
	Source                string `json:"source"`
	SourceNatAddress      string `json:"source_nat_address"`
	SourceNatService      string `json:"source_nat_service"`
	Status                bool   `json:"status"`
}

PacketfilterNat is a generated Sophos object

func (*PacketfilterNat) DeletePath

func (*PacketfilterNat) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterNat DELETE path Creates or updates the complete object nat

func (*PacketfilterNat) GetPath

func (p *PacketfilterNat) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterNats GET path Returns all available nat types

func (*PacketfilterNat) GetType

func (p *PacketfilterNat) GetType() string

GetType implements sophos.Object

func (*PacketfilterNat) PatchPath

func (*PacketfilterNat) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterNat PATCH path Changes to parts of the object nat types

func (*PacketfilterNat) PostPath

func (*PacketfilterNat) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterNat POST path Create a new packetfilter/nat object

func (*PacketfilterNat) PutPath

func (*PacketfilterNat) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterNat PUT path Creates or updates the complete object nat

func (*PacketfilterNat) RefRequired

func (p *PacketfilterNat) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterNat) UsedByPath

func (*PacketfilterNat) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterNats

type PacketfilterNats []PacketfilterNat

PacketfilterNats is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterNats) GetPath

func (*PacketfilterNats) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterNats GET path Returns all available packetfilter/nat objects

func (*PacketfilterNats) RefRequired

func (*PacketfilterNats) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterPacketfilter

type PacketfilterPacketfilter struct {
	Locked             string   `json:"_locked"`
	Reference          string   `json:"_ref"`
	ObjectType         string   `json:"_type"`
	Action             string   `json:"action"`
	Auto               bool     `json:"auto"`
	AutoType           string   `json:"auto_type"`
	Comment            string   `json:"comment"`
	Destinations       []string `json:"destinations"`
	Direction          string   `json:"direction"`
	Group              string   `json:"group"`
	Interface          string   `json:"interface"`
	Log                bool     `json:"log"`
	Name               string   `json:"name"`
	Services           []string `json:"services"`
	SourceMacAddresses string   `json:"source_mac_addresses"`
	Sources            []string `json:"sources"`
	Status             bool     `json:"status"`
	Time               string   `json:"time"`
}

PacketfilterPacketfilter is a generated Sophos object

func (*PacketfilterPacketfilter) DeletePath

func (*PacketfilterPacketfilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterPacketfilter DELETE path Creates or updates the complete object packetfilter

func (*PacketfilterPacketfilter) GetPath

func (p *PacketfilterPacketfilter) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterPacketfilters GET path Returns all available packetfilter types

func (*PacketfilterPacketfilter) GetType

func (p *PacketfilterPacketfilter) GetType() string

GetType implements sophos.Object

func (*PacketfilterPacketfilter) PatchPath

func (*PacketfilterPacketfilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterPacketfilter PATCH path Changes to parts of the object packetfilter types

func (*PacketfilterPacketfilter) PostPath

func (*PacketfilterPacketfilter) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterPacketfilter POST path Create a new packetfilter/packetfilter object

func (*PacketfilterPacketfilter) PutPath

func (*PacketfilterPacketfilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterPacketfilter PUT path Creates or updates the complete object packetfilter

func (*PacketfilterPacketfilter) RefRequired

func (p *PacketfilterPacketfilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterPacketfilter) UsedByPath

func (*PacketfilterPacketfilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterPacketfilters

type PacketfilterPacketfilters []PacketfilterPacketfilter

PacketfilterPacketfilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterPacketfilters) GetPath

func (*PacketfilterPacketfilters) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterPacketfilters GET path Returns all available packetfilter/packetfilter objects

func (*PacketfilterPacketfilters) RefRequired

func (*PacketfilterPacketfilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterRuleset

type PacketfilterRuleset struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Rules      []interface{} `json:"rules"`
	// RulesStatus description: (HASH)
	RulesStatus interface{} `json:"rules_status"`
	// Status default value is false
	Status  bool   `json:"status"`
	Comment string `json:"comment"`
	Name    string `json:"name"`
}

PacketfilterRuleset represents a UTM ruleset

func (*PacketfilterRuleset) DeletePath

func (*PacketfilterRuleset) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterRuleset DELETE path Creates or updates the complete object ruleset

func (*PacketfilterRuleset) GetPath

func (p *PacketfilterRuleset) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterRulesets GET path Returns all available ruleset types

func (*PacketfilterRuleset) PatchPath

func (*PacketfilterRuleset) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterRuleset PATCH path Changes to parts of the object ruleset types

func (*PacketfilterRuleset) PostPath

func (*PacketfilterRuleset) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterRuleset POST path Create a new packetfilter/ruleset object

func (*PacketfilterRuleset) PutPath

func (*PacketfilterRuleset) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterRuleset PUT path Creates or updates the complete object ruleset

func (*PacketfilterRuleset) RefRequired

func (p *PacketfilterRuleset) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterRuleset) UsedByPath

func (*PacketfilterRuleset) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterRulesets added in v0.1.1

type PacketfilterRulesets []PacketfilterRuleset

PacketfilterRulesets is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterRulesets) GetPath added in v0.1.1

func (*PacketfilterRulesets) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterRulesets GET path Returns all available packetfilter/ruleset objects

func (*PacketfilterRulesets) RefRequired added in v0.1.1

func (*PacketfilterRulesets) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PimSm

type PimSm struct {
	AutoPfOut       string        `json:"auto_pf_out"`
	AutoPfrule      int64         `json:"auto_pfrule"`
	Debug           int64         `json:"debug"`
	Interfaces      []interface{} `json:"interfaces"`
	RpRouters       []interface{} `json:"rp_routers"`
	SptSwitchBytes  int64         `json:"spt_switch_bytes"`
	SptSwitchStatus int64         `json:"spt_switch_status"`
	Status          int64         `json:"status"`
}

PimSm is a generated struct representing the Sophos PimSm Endpoint GET /api/nodes/pim_sm

func (PimSm) ApiRoutes

func (PimSm) ApiRoutes() []string

ApiRoutes returns all known PimSm Paths

func (PimSm) Definition

func (PimSm) Definition() sophos.Definition

Definition returns the /api/definitions struct of PimSm

func (*PimSm) GetPath

func (*PimSm) GetPath() string

GetPath implements sophos.RestGetter

func (*PimSm) RefRequired

func (*PimSm) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (PimSm) References

func (PimSm) References() []string

References returns the PimSm's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (PimSm) RestObjects

func (PimSm) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of PimSm's Objects

type PimSmGroup

type PimSmGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

PimSmGroup represents a UTM group

func (*PimSmGroup) DeletePath

func (*PimSmGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmGroup DELETE path Creates or updates the complete object group

func (*PimSmGroup) GetPath

func (p *PimSmGroup) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmGroups GET path Returns all available group types

func (*PimSmGroup) PatchPath

func (*PimSmGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmGroup PATCH path Changes to parts of the object group types

func (*PimSmGroup) PostPath

func (*PimSmGroup) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmGroup POST path Create a new pim_sm/group object

func (*PimSmGroup) PutPath

func (*PimSmGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmGroup PUT path Creates or updates the complete object group

func (*PimSmGroup) RefRequired

func (p *PimSmGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmGroup) UsedByPath

func (*PimSmGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmGroups added in v0.1.1

type PimSmGroups []PimSmGroup

PimSmGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmGroups) GetPath added in v0.1.1

func (*PimSmGroups) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmGroups GET path Returns all available pim_sm/group objects

func (*PimSmGroups) RefRequired added in v0.1.1

func (*PimSmGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PimSmInterface

type PimSmInterface struct {
	Locked       string        `json:"_locked"`
	ObjectType   string        `json:"_type"`
	Reference    string        `json:"_ref"`
	DrPriority   int           `json:"dr_priority"`
	IgmpVersions []interface{} `json:"igmp_versions"`
	// Interface description: REF(interface/*)
	Interface string `json:"interface"`
	Name      string `json:"name"`
	Comment   string `json:"comment"`
}

PimSmInterface represents a UTM multicast routing interface

func (*PimSmInterface) DeletePath

func (*PimSmInterface) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmInterface DELETE path Creates or updates the complete object interface

func (*PimSmInterface) GetPath

func (p *PimSmInterface) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmInterfaces GET path Returns all available interface types

func (*PimSmInterface) PatchPath

func (*PimSmInterface) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmInterface PATCH path Changes to parts of the object interface types

func (*PimSmInterface) PostPath

func (*PimSmInterface) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmInterface POST path Create a new pim_sm/interface object

func (*PimSmInterface) PutPath

func (*PimSmInterface) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmInterface PUT path Creates or updates the complete object interface

func (*PimSmInterface) RefRequired

func (p *PimSmInterface) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmInterface) UsedByPath

func (*PimSmInterface) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmInterfaces added in v0.1.1

type PimSmInterfaces []PimSmInterface

PimSmInterfaces is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmInterfaces) GetPath added in v0.1.1

func (*PimSmInterfaces) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmInterfaces GET path Returns all available pim_sm/interface objects

func (*PimSmInterfaces) RefRequired added in v0.1.1

func (*PimSmInterfaces) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PimSmRoute

type PimSmRoute struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Gateway description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	// Gateway default value is ""
	Gateway string `json:"gateway"`
	// Interface description: REF(interface/*)
	// Interface default value is ""
	Interface string `json:"interface"`
	Name      string `json:"name"`
	// Network description: REF(network/*)
	Network string `json:"network"`
	// Status default value is false
	Status bool `json:"status"`
	// Type can be one of: []string{"gateway", "interface"}
	Type string `json:"type"`
}

PimSmRoute represents a UTM multicast route

func (*PimSmRoute) DeletePath

func (*PimSmRoute) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmRoute DELETE path Creates or updates the complete object route

func (*PimSmRoute) GetPath

func (p *PimSmRoute) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmRoutes GET path Returns all available route types

func (*PimSmRoute) PatchPath

func (*PimSmRoute) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmRoute PATCH path Changes to parts of the object route types

func (*PimSmRoute) PostPath

func (*PimSmRoute) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmRoute POST path Create a new pim_sm/route object

func (*PimSmRoute) PutPath

func (*PimSmRoute) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmRoute PUT path Creates or updates the complete object route

func (*PimSmRoute) RefRequired

func (p *PimSmRoute) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmRoute) UsedByPath

func (*PimSmRoute) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmRoutes added in v0.1.1

type PimSmRoutes []PimSmRoute

PimSmRoutes is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmRoutes) GetPath added in v0.1.1

func (*PimSmRoutes) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmRoutes GET path Returns all available pim_sm/route objects

func (*PimSmRoutes) RefRequired added in v0.1.1

func (*PimSmRoutes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PimSmRpRouter

type PimSmRpRouter struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Host description: REF(network/host), REF(network/dns_host), REF(network/interface_address)
	Host            string        `json:"host"`
	MulticastGroups []interface{} `json:"multicast_groups"`
	Name            string        `json:"name"`
	RpPriority      int           `json:"rp_priority"`
}

PimSmRpRouter represents a UTM rendezvous point router

func (*PimSmRpRouter) DeletePath

func (*PimSmRpRouter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmRpRouter DELETE path Creates or updates the complete object rp_router

func (*PimSmRpRouter) GetPath

func (p *PimSmRpRouter) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmRpRouters GET path Returns all available rp_router types

func (*PimSmRpRouter) PatchPath

func (*PimSmRpRouter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmRpRouter PATCH path Changes to parts of the object rp_router types

func (*PimSmRpRouter) PostPath

func (*PimSmRpRouter) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmRpRouter POST path Create a new pim_sm/rp_router object

func (*PimSmRpRouter) PutPath

func (*PimSmRpRouter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmRpRouter PUT path Creates or updates the complete object rp_router

func (*PimSmRpRouter) RefRequired

func (p *PimSmRpRouter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmRpRouter) UsedByPath

func (*PimSmRpRouter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmRpRouters added in v0.1.1

type PimSmRpRouters []PimSmRpRouter

PimSmRpRouters is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmRpRouters) GetPath added in v0.1.1

func (*PimSmRpRouters) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmRpRouters GET path Returns all available pim_sm/rp_router objects

func (*PimSmRpRouters) RefRequired added in v0.1.1

func (*PimSmRpRouters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Pop3

type Pop3 struct {
	AllowedClients            []interface{} `json:"allowed_clients"`
	AllowedServers            []string      `json:"allowed_servers"`
	CffAsMarker               string        `json:"cff_as_marker"`
	CffAv                     int64         `json:"cff_av"`
	CffAvAction               string        `json:"cff_av_action"`
	CffAvEngines              string        `json:"cff_av_engines"`
	CffFileExtensions         []string      `json:"cff_file_extensions"`
	DirectlyDeleteQuarantined int64         `json:"directly_delete_quarantined"`
	Exceptions                []interface{} `json:"exceptions"`
	KnownServers              []interface{} `json:"known_servers"`
	MaxMessageSize            int64         `json:"max_message_size"`
	Prefetching               struct {
		Interval           int64 `json:"interval"`
		OptimizeStorage    int64 `json:"optimize_storage"`
		Status             int64 `json:"status"`
		StorageMinHoldDays int64 `json:"storage_min_hold_days"`
	} `json:"prefetching"`
	QuarantineUnscannable int64         `json:"quarantine_unscannable"`
	SandboxMaxFilesizeMb  int64         `json:"sandbox_max_filesize_mb"`
	SandboxScanStatus     int64         `json:"sandbox_scan_status"`
	ScanTLS               int64         `json:"scan_tls"`
	SenderBlacklist       []interface{} `json:"sender_blacklist"`
	Spam                  string        `json:"spam"`
	SpamExpressions       []interface{} `json:"spam_expressions"`
	Spamplus              string        `json:"spamplus"`
	Spamstatus            int64         `json:"spamstatus"`
	Status                int64         `json:"status"`
	TLSCert               string        `json:"tls_cert"`
	TransparentSkip       []interface{} `json:"transparent_skip"`
	TransparentSkipAutoPf int64         `json:"transparent_skip_auto_pf"`
	UserCharset           string        `json:"user_charset"`
}

Pop3 is a generated struct representing the Sophos Pop3 Endpoint GET /api/nodes/pop3

func (Pop3) ApiRoutes

func (Pop3) ApiRoutes() []string

ApiRoutes returns all known Pop3 Paths

func (Pop3) Definition

func (Pop3) Definition() sophos.Definition

Definition returns the /api/definitions struct of Pop3

func (*Pop3) GetPath

func (*Pop3) GetPath() string

GetPath implements sophos.RestGetter

func (*Pop3) RefRequired

func (*Pop3) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Pop3) References

func (Pop3) References() []string

References returns the Pop3's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Pop3) RestObjects

func (Pop3) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Pop3's Objects

type Pop3Account

type Pop3Account struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Password   string `json:"password"`
	// Server description: REF(pop3/server)
	Server   string `json:"server"`
	Username string `json:"username"`
	Comment  string `json:"comment"`
}

Pop3Account represents a UTM POP3 account

func (*Pop3Account) DeletePath

func (*Pop3Account) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Account DELETE path Creates or updates the complete object account

func (*Pop3Account) GetPath

func (p *Pop3Account) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Accounts GET path Returns all available account types

func (*Pop3Account) PatchPath

func (*Pop3Account) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Account PATCH path Changes to parts of the object account types

func (*Pop3Account) PostPath

func (*Pop3Account) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Account POST path Create a new pop3/account object

func (*Pop3Account) PutPath

func (*Pop3Account) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Account PUT path Creates or updates the complete object account

func (*Pop3Account) RefRequired

func (p *Pop3Account) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Account) UsedByPath

func (*Pop3Account) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Accounts added in v0.1.1

type Pop3Accounts []Pop3Account

Pop3Accounts is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Accounts) GetPath added in v0.1.1

func (*Pop3Accounts) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Accounts GET path Returns all available pop3/account objects

func (*Pop3Accounts) RefRequired added in v0.1.1

func (*Pop3Accounts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Pop3Exception

type Pop3Exception struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Comment    string        `json:"comment"`
	Name       string        `json:"name"`
	Sender     []interface{} `json:"sender"`
	Skiplist   []interface{} `json:"skiplist"`
	// Status default value is false
	Status bool          `json:"status"`
	Client []interface{} `json:"client"`
}

Pop3Exception represents a UTM POP3 filter exception

func (*Pop3Exception) DeletePath

func (*Pop3Exception) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Exception DELETE path Creates or updates the complete object exception

func (*Pop3Exception) GetPath

func (p *Pop3Exception) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Exceptions GET path Returns all available exception types

func (*Pop3Exception) PatchPath

func (*Pop3Exception) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Exception PATCH path Changes to parts of the object exception types

func (*Pop3Exception) PostPath

func (*Pop3Exception) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Exception POST path Create a new pop3/exception object

func (*Pop3Exception) PutPath

func (*Pop3Exception) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Exception PUT path Creates or updates the complete object exception

func (*Pop3Exception) RefRequired

func (p *Pop3Exception) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Exception) UsedByPath

func (*Pop3Exception) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Exceptions added in v0.1.1

type Pop3Exceptions []Pop3Exception

Pop3Exceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Exceptions) GetPath added in v0.1.1

func (*Pop3Exceptions) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Exceptions GET path Returns all available pop3/exception objects

func (*Pop3Exceptions) RefRequired added in v0.1.1

func (*Pop3Exceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Pop3Group

type Pop3Group struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

Pop3Group represents a UTM group

func (*Pop3Group) DeletePath

func (*Pop3Group) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Group DELETE path Creates or updates the complete object group

func (*Pop3Group) GetPath

func (p *Pop3Group) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Groups GET path Returns all available group types

func (*Pop3Group) PatchPath

func (*Pop3Group) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Group PATCH path Changes to parts of the object group types

func (*Pop3Group) PostPath

func (*Pop3Group) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Group POST path Create a new pop3/group object

func (*Pop3Group) PutPath

func (*Pop3Group) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Group PUT path Creates or updates the complete object group

func (*Pop3Group) RefRequired

func (p *Pop3Group) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Group) UsedByPath

func (*Pop3Group) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Groups added in v0.1.1

type Pop3Groups []Pop3Group

Pop3Groups is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Groups) GetPath added in v0.1.1

func (*Pop3Groups) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Groups GET path Returns all available pop3/group objects

func (*Pop3Groups) RefRequired added in v0.1.1

func (*Pop3Groups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Pop3Server

type Pop3Server struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Comment    string        `json:"comment"`
	Hosts      []interface{} `json:"hosts"`
	Name       string        `json:"name"`
	// TlsCert description: REF(ca/host_key_cert)
	// TlsCert default value is ""
	TlsCert string `json:"tls_cert"`
}

Pop3Server represents a UTM POP3 server

func (*Pop3Server) DeletePath

func (*Pop3Server) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Server DELETE path Creates or updates the complete object server

func (*Pop3Server) GetPath

func (p *Pop3Server) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Servers GET path Returns all available server types

func (*Pop3Server) PatchPath

func (*Pop3Server) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Server PATCH path Changes to parts of the object server types

func (*Pop3Server) PostPath

func (*Pop3Server) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Server POST path Create a new pop3/server object

func (*Pop3Server) PutPath

func (*Pop3Server) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Server PUT path Creates or updates the complete object server

func (*Pop3Server) RefRequired

func (p *Pop3Server) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Server) UsedByPath

func (*Pop3Server) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Servers added in v0.1.1

type Pop3Servers []Pop3Server

Pop3Servers is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Servers) GetPath added in v0.1.1

func (*Pop3Servers) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Servers GET path Returns all available pop3/server objects

func (*Pop3Servers) RefRequired added in v0.1.1

func (*Pop3Servers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Qos

type Qos struct {
	Advanced struct {
		Ecn                 int64 `json:"ecn"`
		KeepClassAfterEncap int64 `json:"keep_class_after_encap"`
	} `json:"advanced"`
	Interfaces []string `json:"interfaces"`
}

Qos is a generated struct representing the Sophos Qos Endpoint GET /api/nodes/qos

func (Qos) ApiRoutes

func (Qos) ApiRoutes() []string

ApiRoutes returns all known Qos Paths

func (Qos) Definition

func (Qos) Definition() sophos.Definition

Definition returns the /api/definitions struct of Qos

func (*Qos) GetPath

func (*Qos) GetPath() string

GetPath implements sophos.RestGetter

func (*Qos) RefRequired

func (*Qos) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Qos) References

func (Qos) References() []string

References returns the Qos's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Qos) RestObjects

func (Qos) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Qos's Objects

type QosApplicationSelector

type QosApplicationSelector struct {
	Locked                  string `json:"_locked"`
	ObjectType              string `json:"_type"`
	Reference               string `json:"_ref"`
	GroupFilterProductivity int    `json:"group_filter_productivity"`
	GroupFilterRisk         int    `json:"group_filter_risk"`
	// Source description: REF(network/*)
	Source    string `json:"source"`
	Comment   string `json:"comment"`
	Connbytes int    `json:"connbytes"`
	// Destination description: REF(network/*)
	Destination  string        `json:"destination"`
	Groups       []interface{} `json:"groups"`
	Name         string        `json:"name"`
	Applications []interface{} `json:"applications"`
	// ConnbytesUpperlimit default value is false
	ConnbytesUpperlimit bool `json:"connbytes_upperlimit"`
}

QosApplicationSelector represents a UTM QoS application selector

func (*QosApplicationSelector) DeletePath

func (*QosApplicationSelector) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosApplicationSelector DELETE path Creates or updates the complete object application_selector

func (*QosApplicationSelector) GetPath

func (q *QosApplicationSelector) GetPath() string

GetPath implements sophos.RestObject and returns the QosApplicationSelectors GET path Returns all available application_selector types

func (*QosApplicationSelector) PatchPath

func (*QosApplicationSelector) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosApplicationSelector PATCH path Changes to parts of the object application_selector types

func (*QosApplicationSelector) PostPath

func (*QosApplicationSelector) PostPath() string

PostPath implements sophos.RestObject and returns the QosApplicationSelector POST path Create a new qos/application_selector object

func (*QosApplicationSelector) PutPath

func (*QosApplicationSelector) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosApplicationSelector PUT path Creates or updates the complete object application_selector

func (*QosApplicationSelector) RefRequired

func (q *QosApplicationSelector) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosApplicationSelector) UsedByPath

func (*QosApplicationSelector) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosApplicationSelectors added in v0.1.1

type QosApplicationSelectors []QosApplicationSelector

QosApplicationSelectors is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosApplicationSelectors) GetPath added in v0.1.1

func (*QosApplicationSelectors) GetPath() string

GetPath implements sophos.RestObject and returns the QosApplicationSelectors GET path Returns all available qos/application_selector objects

func (*QosApplicationSelectors) RefRequired added in v0.1.1

func (*QosApplicationSelectors) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosGroup

type QosGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
}

QosGroup represents a UTM group

func (*QosGroup) DeletePath

func (*QosGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosGroup DELETE path Creates or updates the complete object group

func (*QosGroup) GetPath

func (q *QosGroup) GetPath() string

GetPath implements sophos.RestObject and returns the QosGroups GET path Returns all available group types

func (*QosGroup) PatchPath

func (*QosGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosGroup PATCH path Changes to parts of the object group types

func (*QosGroup) PostPath

func (*QosGroup) PostPath() string

PostPath implements sophos.RestObject and returns the QosGroup POST path Create a new qos/group object

func (*QosGroup) PutPath

func (*QosGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosGroup PUT path Creates or updates the complete object group

func (*QosGroup) RefRequired

func (q *QosGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosGroup) UsedByPath

func (*QosGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosGroups added in v0.1.1

type QosGroups []QosGroup

QosGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosGroups) GetPath added in v0.1.1

func (*QosGroups) GetPath() string

GetPath implements sophos.RestObject and returns the QosGroups GET path Returns all available qos/group objects

func (*QosGroups) RefRequired added in v0.1.1

func (*QosGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosIngressRule

type QosIngressRule struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	// Status default value is false
	Status           bool          `json:"status"`
	TrafficSelectors []interface{} `json:"traffic_selectors"`
	Comment          string        `json:"comment"`
	Limit            int           `json:"limit"`
	// Mode can be one of: []string{",", "srcip", "dstip", "srcip,dstip"}
	// Mode default value is ""
	Mode string `json:"mode"`
}

QosIngressRule represents a UTM QoS traffic throttling

func (*QosIngressRule) DeletePath

func (*QosIngressRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosIngressRule DELETE path Creates or updates the complete object ingress_rule

func (*QosIngressRule) GetPath

func (q *QosIngressRule) GetPath() string

GetPath implements sophos.RestObject and returns the QosIngressRules GET path Returns all available ingress_rule types

func (*QosIngressRule) PatchPath

func (*QosIngressRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosIngressRule PATCH path Changes to parts of the object ingress_rule types

func (*QosIngressRule) PostPath

func (*QosIngressRule) PostPath() string

PostPath implements sophos.RestObject and returns the QosIngressRule POST path Create a new qos/ingress_rule object

func (*QosIngressRule) PutPath

func (*QosIngressRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosIngressRule PUT path Creates or updates the complete object ingress_rule

func (*QosIngressRule) RefRequired

func (q *QosIngressRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosIngressRule) UsedByPath

func (*QosIngressRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosIngressRules added in v0.1.1

type QosIngressRules []QosIngressRule

QosIngressRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosIngressRules) GetPath added in v0.1.1

func (*QosIngressRules) GetPath() string

GetPath implements sophos.RestObject and returns the QosIngressRules GET path Returns all available qos/ingress_rule objects

func (*QosIngressRules) RefRequired added in v0.1.1

func (*QosIngressRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosInterface

type QosInterface struct {
	Locked            string        `json:"_locked"`
	Reference         string        `json:"_ref"`
	ObjectType        string        `json:"_type"`
	Comment           string        `json:"comment"`
	Downlink          int64         `json:"downlink"`
	DownlinkOptimizer bool          `json:"downlink_optimizer"`
	IngressRules      []interface{} `json:"ingress_rules"`
	Interface         string        `json:"interface"`
	Name              string        `json:"name"`
	Rules             []interface{} `json:"rules"`
	Status            bool          `json:"status"`
	Uplink            int64         `json:"uplink"`
	UplinkLimit       bool          `json:"uplink_limit"`
	UplinkOptimizer   bool          `json:"uplink_optimizer"`
}

QosInterface is a generated Sophos object

func (*QosInterface) DeletePath

func (*QosInterface) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosInterface DELETE path Creates or updates the complete object interface

func (*QosInterface) GetPath

func (q *QosInterface) GetPath() string

GetPath implements sophos.RestObject and returns the QosInterfaces GET path Returns all available interface types

func (*QosInterface) GetType

func (q *QosInterface) GetType() string

GetType implements sophos.Object

func (*QosInterface) PatchPath

func (*QosInterface) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosInterface PATCH path Changes to parts of the object interface types

func (*QosInterface) PostPath

func (*QosInterface) PostPath() string

PostPath implements sophos.RestObject and returns the QosInterface POST path Create a new qos/interface object

func (*QosInterface) PutPath

func (*QosInterface) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosInterface PUT path Creates or updates the complete object interface

func (*QosInterface) RefRequired

func (q *QosInterface) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosInterface) UsedByPath

func (*QosInterface) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosInterfaces

type QosInterfaces []QosInterface

QosInterfaces is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosInterfaces) GetPath

func (*QosInterfaces) GetPath() string

GetPath implements sophos.RestObject and returns the QosInterfaces GET path Returns all available qos/interface objects

func (*QosInterfaces) RefRequired

func (*QosInterfaces) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosRule

type QosRule struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Bandwidth  int    `json:"bandwidth"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	// Status default value is false
	Status           bool          `json:"status"`
	TrafficSelectors []interface{} `json:"traffic_selectors"`
	// UpperLimitStatus default value is false
	UpperLimitStatus bool `json:"upper_limit_status"`
	UpperLimitValue  int  `json:"upper_limit_value"`
}

QosRule represents a UTM QoS bandwidth pool

func (*QosRule) DeletePath

func (*QosRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosRule DELETE path Creates or updates the complete object rule

func (*QosRule) GetPath

func (q *QosRule) GetPath() string

GetPath implements sophos.RestObject and returns the QosRules GET path Returns all available rule types

func (*QosRule) PatchPath

func (*QosRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosRule PATCH path Changes to parts of the object rule types

func (*QosRule) PostPath

func (*QosRule) PostPath() string

PostPath implements sophos.RestObject and returns the QosRule POST path Create a new qos/rule object

func (*QosRule) PutPath

func (*QosRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosRule PUT path Creates or updates the complete object rule

func (*QosRule) RefRequired

func (q *QosRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosRule) UsedByPath

func (*QosRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosRules added in v0.1.1

type QosRules []QosRule

QosRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosRules) GetPath added in v0.1.1

func (*QosRules) GetPath() string

GetPath implements sophos.RestObject and returns the QosRules GET path Returns all available qos/rule objects

func (*QosRules) RefRequired added in v0.1.1

func (*QosRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosTrafficSelector

type QosTrafficSelector struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// PacketLength default value is ""
	PacketLength string `json:"packet_length"`
	// Service description: REF(service/*)
	// Service default value is "REF_ServiceAny"
	Service string `json:"service"`
	// Source description: REF(network/*)
	Source string `json:"source"`
	// DscpType can be one of: []string{"off", "value", "class"}
	// DscpType default value is "off"
	DscpType string `json:"dscp_type"`
	// Tos can be one of: []string{"off", "normal", "min_cost", "max_reliable", "max_throughput", "min_delay"}
	// Tos default value is "off"
	Tos       string `json:"tos"`
	Connbytes int    `json:"connbytes"`
	// ConnbytesUpperlimit default value is false
	ConnbytesUpperlimit bool `json:"connbytes_upperlimit"`
	DscpValue           int  `json:"dscp_value"`
	// Helper description: (REGEX)
	// Helper default value is ""
	Helper   string        `json:"helper"`
	TcpFlags []interface{} `json:"tcp_flags"`
	Comment  string        `json:"comment"`
	// Destination description: REF(network/*)
	Destination string `json:"destination"`
	// DscpString can be one of: []string{"BE", "AF11", "AF12", "AF13", "AF21", "AF22", "AF23", "AF31", "AF32", "AF33", "AF41", "AF42", "AF43", "CS1", "CS2", "CS3", "CS4", "CS5", "CS6", "CS7", "EF"}
	// DscpString default value is "BE"
	DscpString string `json:"dscp_string"`
	Name       string `json:"name"`
}

QosTrafficSelector represents a UTM QoS traffic selector

func (*QosTrafficSelector) DeletePath

func (*QosTrafficSelector) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosTrafficSelector DELETE path Creates or updates the complete object traffic_selector

func (*QosTrafficSelector) GetPath

func (q *QosTrafficSelector) GetPath() string

GetPath implements sophos.RestObject and returns the QosTrafficSelectors GET path Returns all available traffic_selector types

func (*QosTrafficSelector) PatchPath

func (*QosTrafficSelector) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosTrafficSelector PATCH path Changes to parts of the object traffic_selector types

func (*QosTrafficSelector) PostPath

func (*QosTrafficSelector) PostPath() string

PostPath implements sophos.RestObject and returns the QosTrafficSelector POST path Create a new qos/traffic_selector object

func (*QosTrafficSelector) PutPath

func (*QosTrafficSelector) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosTrafficSelector PUT path Creates or updates the complete object traffic_selector

func (*QosTrafficSelector) RefRequired

func (q *QosTrafficSelector) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosTrafficSelector) UsedByPath

func (*QosTrafficSelector) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosTrafficSelectorGroup

type QosTrafficSelectorGroup struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Comment    string        `json:"comment"`
	Members    []interface{} `json:"members"`
	Name       string        `json:"name"`
}

QosTrafficSelectorGroup represents a UTM QoS traffic selector group

func (*QosTrafficSelectorGroup) DeletePath

func (*QosTrafficSelectorGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosTrafficSelectorGroup DELETE path Creates or updates the complete object traffic_selector_group

func (*QosTrafficSelectorGroup) GetPath

func (q *QosTrafficSelectorGroup) GetPath() string

GetPath implements sophos.RestObject and returns the QosTrafficSelectorGroups GET path Returns all available traffic_selector_group types

func (*QosTrafficSelectorGroup) PatchPath

func (*QosTrafficSelectorGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosTrafficSelectorGroup PATCH path Changes to parts of the object traffic_selector_group types

func (*QosTrafficSelectorGroup) PostPath

func (*QosTrafficSelectorGroup) PostPath() string

PostPath implements sophos.RestObject and returns the QosTrafficSelectorGroup POST path Create a new qos/traffic_selector_group object

func (*QosTrafficSelectorGroup) PutPath

func (*QosTrafficSelectorGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosTrafficSelectorGroup PUT path Creates or updates the complete object traffic_selector_group

func (*QosTrafficSelectorGroup) RefRequired

func (q *QosTrafficSelectorGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosTrafficSelectorGroup) UsedByPath

func (*QosTrafficSelectorGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosTrafficSelectorGroups added in v0.1.1

type QosTrafficSelectorGroups []QosTrafficSelectorGroup

QosTrafficSelectorGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosTrafficSelectorGroups) GetPath added in v0.1.1

func (*QosTrafficSelectorGroups) GetPath() string

GetPath implements sophos.RestObject and returns the QosTrafficSelectorGroups GET path Returns all available qos/traffic_selector_group objects

func (*QosTrafficSelectorGroups) RefRequired added in v0.1.1

func (*QosTrafficSelectorGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosTrafficSelectors added in v0.1.1

type QosTrafficSelectors []QosTrafficSelector

QosTrafficSelectors is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosTrafficSelectors) GetPath added in v0.1.1

func (*QosTrafficSelectors) GetPath() string

GetPath implements sophos.RestObject and returns the QosTrafficSelectors GET path Returns all available qos/traffic_selector objects

func (*QosTrafficSelectors) RefRequired added in v0.1.1

func (*QosTrafficSelectors) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type RemoteSyslog

type RemoteSyslog struct {
	Buffer int64         `json:"buffer"`
	Logs   []interface{} `json:"logs"`
	Status int64         `json:"status"`
	Target []interface{} `json:"target"`
}

RemoteSyslog is a generated struct representing the Sophos RemoteSyslog Endpoint GET /api/nodes/remote_syslog

func (RemoteSyslog) ApiRoutes

func (RemoteSyslog) ApiRoutes() []string

ApiRoutes returns all known RemoteSyslog Paths

func (RemoteSyslog) Definition

func (RemoteSyslog) Definition() sophos.Definition

Definition returns the /api/definitions struct of RemoteSyslog

func (*RemoteSyslog) GetPath

func (*RemoteSyslog) GetPath() string

GetPath implements sophos.RestGetter

func (*RemoteSyslog) RefRequired

func (*RemoteSyslog) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (RemoteSyslog) References

func (RemoteSyslog) References() []string

References returns the RemoteSyslog's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (RemoteSyslog) RestObjects

func (RemoteSyslog) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of RemoteSyslog's Objects

type RemoteSyslogGroup

type RemoteSyslogGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

RemoteSyslogGroup represents a UTM group

func (*RemoteSyslogGroup) DeletePath

func (*RemoteSyslogGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RemoteSyslogGroup DELETE path Creates or updates the complete object group

func (*RemoteSyslogGroup) GetPath

func (r *RemoteSyslogGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RemoteSyslogGroups GET path Returns all available group types

func (*RemoteSyslogGroup) PatchPath

func (*RemoteSyslogGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RemoteSyslogGroup PATCH path Changes to parts of the object group types

func (*RemoteSyslogGroup) PostPath

func (*RemoteSyslogGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RemoteSyslogGroup POST path Create a new remote_syslog/group object

func (*RemoteSyslogGroup) PutPath

func (*RemoteSyslogGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RemoteSyslogGroup PUT path Creates or updates the complete object group

func (*RemoteSyslogGroup) RefRequired

func (r *RemoteSyslogGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RemoteSyslogGroup) UsedByPath

func (*RemoteSyslogGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RemoteSyslogGroups added in v0.1.1

type RemoteSyslogGroups []RemoteSyslogGroup

RemoteSyslogGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*RemoteSyslogGroups) GetPath added in v0.1.1

func (*RemoteSyslogGroups) GetPath() string

GetPath implements sophos.RestObject and returns the RemoteSyslogGroups GET path Returns all available remote_syslog/group objects

func (*RemoteSyslogGroups) RefRequired added in v0.1.1

func (*RemoteSyslogGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type RemoteSyslogServer

type RemoteSyslogServer struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// LocalAddr description: REF(network/interface_address), REF(network/any)
	// LocalAddr default value is "REF_NetworkAny"
	LocalAddr string `json:"local_addr"`
	Name      string `json:"name"`
	// Port description: REF(service/tcp), REF(service/udp)
	// Port default value is "REF_SEzkPqGizE"
	Port string `json:"port"`
	// Server description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Server string `json:"server"`
}

RemoteSyslogServer represents a UTM remote syslog server

func (*RemoteSyslogServer) DeletePath

func (*RemoteSyslogServer) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RemoteSyslogServer DELETE path Creates or updates the complete object server

func (*RemoteSyslogServer) GetPath

func (r *RemoteSyslogServer) GetPath() string

GetPath implements sophos.RestObject and returns the RemoteSyslogServers GET path Returns all available server types

func (*RemoteSyslogServer) PatchPath

func (*RemoteSyslogServer) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RemoteSyslogServer PATCH path Changes to parts of the object server types

func (*RemoteSyslogServer) PostPath

func (*RemoteSyslogServer) PostPath() string

PostPath implements sophos.RestObject and returns the RemoteSyslogServer POST path Create a new remote_syslog/server object

func (*RemoteSyslogServer) PutPath

func (*RemoteSyslogServer) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RemoteSyslogServer PUT path Creates or updates the complete object server

func (*RemoteSyslogServer) RefRequired

func (r *RemoteSyslogServer) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RemoteSyslogServer) UsedByPath

func (*RemoteSyslogServer) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RemoteSyslogServers added in v0.1.1

type RemoteSyslogServers []RemoteSyslogServer

RemoteSyslogServers is an Sophos Endpoint subType and implements sophos.RestObject

func (*RemoteSyslogServers) GetPath added in v0.1.1

func (*RemoteSyslogServers) GetPath() string

GetPath implements sophos.RestObject and returns the RemoteSyslogServers GET path Returns all available remote_syslog/server objects

func (*RemoteSyslogServers) RefRequired added in v0.1.1

func (*RemoteSyslogServers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Reporting

type Reporting struct {
	AccountingKeepdays     int64         `json:"accounting_keepdays"`
	AccountingStatus       int64         `json:"accounting_status"`
	Anonymizing            int64         `json:"anonymizing"`
	AppctrlKeepdays        int64         `json:"appctrl_keepdays"`
	AppctrlStatus          int64         `json:"appctrl_status"`
	AtpKeepdays            int64         `json:"atp_keepdays"`
	AtpReset               int64         `json:"atp_reset"`
	AtpStatus              int64         `json:"atp_status"`
	AuthenticationKeepdays int64         `json:"authentication_keepdays"`
	AuthenticationStatus   int64         `json:"authentication_status"`
	CsvSeparator           string        `json:"csv_separator"`
	EmailsecurityImport    []interface{} `json:"emailsecurity_import"`
	EmailsecurityKeepdays  int64         `json:"emailsecurity_keepdays"`
	EmailsecurityStatus    int64         `json:"emailsecurity_status"`
	EnableVpnAccounting    int64         `json:"enable_vpn_accounting"`
	HideAccountingips      []interface{} `json:"hide_accountingips"`
	HideMailaddresses      []interface{} `json:"hide_mailaddresses"`
	HideMaildomains        []interface{} `json:"hide_maildomains"`
	HideNetsecips          []interface{} `json:"hide_netsecips"`
	HideWebdomains         []interface{} `json:"hide_webdomains"`
	IpsImport              []interface{} `json:"ips_import"`
	IpsKeepdays            int64         `json:"ips_keepdays"`
	IpsStatus              int64         `json:"ips_status"`
	PacketfilterImport     []interface{} `json:"packetfilter_import"`
	PacketfilterKeepdays   int64         `json:"packetfilter_keepdays"`
	PacketfilterStatus     int64         `json:"packetfilter_status"`
	Password1              string        `json:"password1"`
	Password2              string        `json:"password2"`
	SandboxKeepdays        int64         `json:"sandbox_keepdays"`
	UserlogFromLogs        int64         `json:"userlog_from_logs"`
	VpnKeepdays            int64         `json:"vpn_keepdays"`
	VpnStatus              int64         `json:"vpn_status"`
	WafKeepdays            int64         `json:"waf_keepdays"`
	WafStatus              int64         `json:"waf_status"`
	WebsecurityDetail      int64         `json:"websecurity_detail"`
	WebsecurityImport      []interface{} `json:"websecurity_import"`
	WebsecurityKeepdays    int64         `json:"websecurity_keepdays"`
	WebsecurityStatus      int64         `json:"websecurity_status"`
}

Reporting is a generated struct representing the Sophos Reporting Endpoint GET /api/nodes/reporting

func (Reporting) ApiRoutes

func (Reporting) ApiRoutes() []string

ApiRoutes returns all known Reporting Paths

func (Reporting) Definition

func (Reporting) Definition() sophos.Definition

Definition returns the /api/definitions struct of Reporting

func (*Reporting) GetPath

func (*Reporting) GetPath() string

GetPath implements sophos.RestGetter

func (*Reporting) RefRequired

func (*Reporting) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Reporting) References

func (Reporting) References() []string

References returns the Reporting's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Reporting) RestObjects

func (Reporting) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Reporting's Objects

type ReportingDepartment

type ReportingDepartment struct {
	Locked     string        `json:"_locked"`
	ObjectType string        `json:"_type"`
	Reference  string        `json:"_ref"`
	Comment    string        `json:"comment"`
	Name       string        `json:"name"`
	Networks   []interface{} `json:"networks"`
	Users      []interface{} `json:"users"`
}

ReportingDepartment represents a UTM department

func (*ReportingDepartment) DeletePath

func (*ReportingDepartment) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingDepartment DELETE path Creates or updates the complete object department

func (*ReportingDepartment) GetPath

func (r *ReportingDepartment) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingDepartments GET path Returns all available department types

func (*ReportingDepartment) PatchPath

func (*ReportingDepartment) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingDepartment PATCH path Changes to parts of the object department types

func (*ReportingDepartment) PostPath

func (*ReportingDepartment) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingDepartment POST path Create a new reporting/department object

func (*ReportingDepartment) PutPath

func (*ReportingDepartment) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingDepartment PUT path Creates or updates the complete object department

func (*ReportingDepartment) RefRequired

func (r *ReportingDepartment) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingDepartment) UsedByPath

func (*ReportingDepartment) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingDepartments added in v0.1.1

type ReportingDepartments []ReportingDepartment

ReportingDepartments is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingDepartments) GetPath added in v0.1.1

func (*ReportingDepartments) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingDepartments GET path Returns all available reporting/department objects

func (*ReportingDepartments) RefRequired added in v0.1.1

func (*ReportingDepartments) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReportingFilter

type ReportingFilter struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Callname   string `json:"callname"`
	Comment    string `json:"comment"`
	Department string `json:"department"`
	Filter     struct {
		Action string `json:"action"`
		Info   string `json:"info"`
	} `json:"filter"`
	Name      string `json:"name"`
	SortBy    string `json:"sort_by"`
	SortDir   string `json:"sort_dir"`
	Subsystem string `json:"subsystem"`
	Timeframe string `json:"timeframe"`
	Top       int64  `json:"top"`
}

ReportingFilter is a generated Sophos object

func (*ReportingFilter) DeletePath

func (*ReportingFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingFilter DELETE path Creates or updates the complete object filter

func (*ReportingFilter) GetPath

func (r *ReportingFilter) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingFilters GET path Returns all available filter types

func (*ReportingFilter) GetType

func (r *ReportingFilter) GetType() string

GetType implements sophos.Object

func (*ReportingFilter) PatchPath

func (*ReportingFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingFilter PATCH path Changes to parts of the object filter types

func (*ReportingFilter) PostPath

func (*ReportingFilter) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingFilter POST path Create a new reporting/filter object

func (*ReportingFilter) PutPath

func (*ReportingFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingFilter PUT path Creates or updates the complete object filter

func (*ReportingFilter) RefRequired

func (r *ReportingFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingFilter) UsedByPath

func (*ReportingFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingFilters

type ReportingFilters []ReportingFilter

ReportingFilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingFilters) GetPath

func (*ReportingFilters) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingFilters GET path Returns all available reporting/filter objects

func (*ReportingFilters) RefRequired

func (*ReportingFilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReportingGroup

type ReportingGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ReportingGroup represents a UTM group

func (*ReportingGroup) DeletePath

func (*ReportingGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingGroup DELETE path Creates or updates the complete object group

func (*ReportingGroup) GetPath

func (r *ReportingGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingGroups GET path Returns all available group types

func (*ReportingGroup) PatchPath

func (*ReportingGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingGroup PATCH path Changes to parts of the object group types

func (*ReportingGroup) PostPath

func (*ReportingGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingGroup POST path Create a new reporting/group object

func (*ReportingGroup) PutPath

func (*ReportingGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingGroup PUT path Creates or updates the complete object group

func (*ReportingGroup) RefRequired

func (r *ReportingGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingGroup) UsedByPath

func (*ReportingGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingGroups added in v0.1.1

type ReportingGroups []ReportingGroup

ReportingGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingGroups) GetPath added in v0.1.1

func (*ReportingGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingGroups GET path Returns all available reporting/group objects

func (*ReportingGroups) RefRequired added in v0.1.1

func (*ReportingGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReportingMail

type ReportingMail struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Interval can be one of: []string{"daily", "weekly", "monthly"}
	// Interval default value is "daily"
	Interval   string        `json:"interval"`
	Name       string        `json:"name"`
	Recipients []interface{} `json:"recipients"`
	// Status default value is false
	Status  bool          `json:"status"`
	Comment string        `json:"comment"`
	Filters []interface{} `json:"filters"`
}

ReportingMail represents a UTM scheduled report

func (*ReportingMail) DeletePath

func (*ReportingMail) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingMail DELETE path Creates or updates the complete object mail

func (*ReportingMail) GetPath

func (r *ReportingMail) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingMails GET path Returns all available mail types

func (*ReportingMail) PatchPath

func (*ReportingMail) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingMail PATCH path Changes to parts of the object mail types

func (*ReportingMail) PostPath

func (*ReportingMail) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingMail POST path Create a new reporting/mail object

func (*ReportingMail) PutPath

func (*ReportingMail) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingMail PUT path Creates or updates the complete object mail

func (*ReportingMail) RefRequired

func (r *ReportingMail) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingMail) UsedByPath

func (*ReportingMail) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingMails added in v0.1.1

type ReportingMails []ReportingMail

ReportingMails is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingMails) GetPath added in v0.1.1

func (*ReportingMails) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingMails GET path Returns all available reporting/mail objects

func (*ReportingMails) RefRequired added in v0.1.1

func (*ReportingMails) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxy

type ReverseProxy struct {
	AuaRefreshEnabled  int64 `json:"aua_refresh_enabled"`
	AuaRefreshInterval int64 `json:"aua_refresh_interval"`
	Blacklist          struct {
		DnsrblZones []string `json:"dnsrbl_zones"`
		GeoipCodes  []string `json:"geoip_codes"`
	} `json:"blacklist"`
	Cookiesignkey                       string        `json:"cookiesignkey"`
	CssdHostname                        string        `json:"cssd_hostname"`
	CssdPort                            int64         `json:"cssd_port"`
	CustomThreatFiltersEnabled          int64         `json:"custom_threat_filters_enabled"`
	FormhardeningSecret                 string        `json:"formhardening_secret"`
	Keepalive                           int64         `json:"keepalive"`
	Manualmode                          int64         `json:"manualmode"`
	MaxConnectionsPerChild              int64         `json:"max_connections_per_child"`
	MaxPreforkProcesses                 int64         `json:"max_prefork_processes"`
	MaxProcesses                        int64         `json:"max_processes"`
	MaxSessionFiles                     int64         `json:"max_session_files"`
	MaxSpareProcesses                   int64         `json:"max_spare_processes"`
	MaxSpareThreads                     int64         `json:"max_spare_threads"`
	MaxThreadsPerProcess                int64         `json:"max_threads_per_process"`
	MinSpareProcesses                   int64         `json:"min_spare_processes"`
	MinSpareThreads                     int64         `json:"min_spare_threads"`
	MinTLS                              string        `json:"min_tls"`
	ModsecurityBeta                     int64         `json:"modsecurity_beta"`
	MpmMode                             string        `json:"mpm_mode"`
	Patternversion                      string        `json:"patternversion"`
	Port                                int64         `json:"port"`
	Proxyprotocol                       int64         `json:"proxyprotocol"`
	RequestLineLimit                    int64         `json:"request_line_limit"`
	SlowhttpExceptions                  []interface{} `json:"slowhttp_exceptions"`
	SlowhttpRequestHeaderTimeoutBase    int64         `json:"slowhttp_request_header_timeout_base"`
	SlowhttpRequestHeaderTimeoutEnabled int64         `json:"slowhttp_request_header_timeout_enabled"`
	SlowhttpRequestHeaderTimeoutMax     int64         `json:"slowhttp_request_header_timeout_max"`
	SlowhttpRequestHeaderTimeoutRate    int64         `json:"slowhttp_request_header_timeout_rate"`
	Status                              int64         `json:"status"`
	TraceEnabled                        int64         `json:"trace_enabled"`
	Urlhardeningsignkey                 string        `json:"urlhardeningsignkey"`
	Whatkilledus                        int64         `json:"whatkilledus"`
}

ReverseProxy is a generated struct representing the Sophos ReverseProxy Endpoint GET /api/nodes/reverse_proxy

func (ReverseProxy) ApiRoutes

func (ReverseProxy) ApiRoutes() []string

ApiRoutes returns all known ReverseProxy Paths

func (ReverseProxy) Definition

func (ReverseProxy) Definition() sophos.Definition

Definition returns the /api/definitions struct of ReverseProxy

func (*ReverseProxy) GetPath

func (*ReverseProxy) GetPath() string

GetPath implements sophos.RestGetter

func (*ReverseProxy) RefRequired

func (*ReverseProxy) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (ReverseProxy) References

func (ReverseProxy) References() []string

References returns the ReverseProxy's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (ReverseProxy) RestObjects

func (ReverseProxy) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of ReverseProxy's Objects

type ReverseProxyAuthProfile

type ReverseProxyAuthProfile struct {
	Locked                          string        `json:"_locked"`
	Reference                       string        `json:"_ref"`
	ObjectType                      string        `json:"_type"`
	Aaa                             []string      `json:"aaa"`
	BackendMode                     string        `json:"backend_mode"`
	BackendStripBasicAuth           bool          `json:"backend_strip_basic_auth"`
	BackendUserPrefix               string        `json:"backend_user_prefix"`
	BackendUserSuffix               string        `json:"backend_user_suffix"`
	BasicPrompt                     string        `json:"basic_prompt"`
	Comment                         string        `json:"comment"`
	FrontendCookie                  string        `json:"frontend_cookie"`
	FrontendCookieSecret            string        `json:"frontend_cookie_secret"`
	FrontendForm                    string        `json:"frontend_form"`
	FrontendFormTemplate            string        `json:"frontend_form_template"`
	FrontendLogin                   string        `json:"frontend_login"`
	FrontendLogout                  string        `json:"frontend_logout"`
	FrontendMode                    string        `json:"frontend_mode"`
	FrontendRealm                   string        `json:"frontend_realm"`
	FrontendSessionAllowPersistency bool          `json:"frontend_session_allow_persistency"`
	FrontendSessionLifetime         int64         `json:"frontend_session_lifetime"`
	FrontendSessionLifetimeLimited  bool          `json:"frontend_session_lifetime_limited"`
	FrontendSessionLifetimeScope    string        `json:"frontend_session_lifetime_scope"`
	FrontendSessionTimeout          int64         `json:"frontend_session_timeout"`
	FrontendSessionTimeoutEnabled   bool          `json:"frontend_session_timeout_enabled"`
	FrontendSessionTimeoutScope     string        `json:"frontend_session_timeout_scope"`
	LogoutDelegationUrls            []interface{} `json:"logout_delegation_urls"`
	LogoutMode                      string        `json:"logout_mode"`
	Name                            string        `json:"name"`
	RedirectToRequestedURL          bool          `json:"redirect_to_requested_url"`
}

ReverseProxyAuthProfile is a generated Sophos object

func (*ReverseProxyAuthProfile) DeletePath

func (*ReverseProxyAuthProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyAuthProfile DELETE path Creates or updates the complete object auth_profile

func (*ReverseProxyAuthProfile) GetPath

func (r *ReverseProxyAuthProfile) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyAuthProfiles GET path Returns all available auth_profile types

func (*ReverseProxyAuthProfile) GetType

func (r *ReverseProxyAuthProfile) GetType() string

GetType implements sophos.Object

func (*ReverseProxyAuthProfile) PatchPath

func (*ReverseProxyAuthProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyAuthProfile PATCH path Changes to parts of the object auth_profile types

func (*ReverseProxyAuthProfile) PostPath

func (*ReverseProxyAuthProfile) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyAuthProfile POST path Create a new reverse_proxy/auth_profile object

func (*ReverseProxyAuthProfile) PutPath

func (*ReverseProxyAuthProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyAuthProfile PUT path Creates or updates the complete object auth_profile

func (*ReverseProxyAuthProfile) RefRequired

func (r *ReverseProxyAuthProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyAuthProfile) UsedByPath

func (*ReverseProxyAuthProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyAuthProfiles

type ReverseProxyAuthProfiles []ReverseProxyAuthProfile

ReverseProxyAuthProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyAuthProfiles) GetPath

func (*ReverseProxyAuthProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyAuthProfiles GET path Returns all available reverse_proxy/auth_profile objects

func (*ReverseProxyAuthProfiles) RefRequired

func (*ReverseProxyAuthProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyBackend

type ReverseProxyBackend struct {
	Locked                          string `json:"_locked"`
	Reference                       string `json:"_ref"`
	ObjectType                      string `json:"_type"`
	Comment                         string `json:"comment"`
	DisableBackendConnectionPooling bool   `json:"disable_backend_connection_pooling"`
	Host                            string `json:"host"`
	Keepalive                       bool   `json:"keepalive"`
	Name                            string `json:"name"`
	Path                            string `json:"path"`
	Port                            int64  `json:"port"`
	Ssl                             bool   `json:"ssl"`
	Status                          bool   `json:"status"`
	Timeout                         int64  `json:"timeout"`
}

ReverseProxyBackend is a generated Sophos object

func (*ReverseProxyBackend) DeletePath

func (*ReverseProxyBackend) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyBackend DELETE path Creates or updates the complete object backend

func (*ReverseProxyBackend) GetPath

func (r *ReverseProxyBackend) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyBackends GET path Returns all available backend types

func (*ReverseProxyBackend) GetType

func (r *ReverseProxyBackend) GetType() string

GetType implements sophos.Object

func (*ReverseProxyBackend) PatchPath

func (*ReverseProxyBackend) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyBackend PATCH path Changes to parts of the object backend types

func (*ReverseProxyBackend) PostPath

func (*ReverseProxyBackend) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyBackend POST path Create a new reverse_proxy/backend object

func (*ReverseProxyBackend) PutPath

func (*ReverseProxyBackend) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyBackend PUT path Creates or updates the complete object backend

func (*ReverseProxyBackend) RefRequired

func (r *ReverseProxyBackend) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyBackend) UsedByPath

func (*ReverseProxyBackend) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyBackends

type ReverseProxyBackends []ReverseProxyBackend

ReverseProxyBackends is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyBackends) GetPath

func (*ReverseProxyBackends) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyBackends GET path Returns all available reverse_proxy/backend objects

func (*ReverseProxyBackends) RefRequired

func (*ReverseProxyBackends) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyException

type ReverseProxyException struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	// Skipav default value is false
	Skipav bool `json:"skipav"`
	// Skipbadclients default value is false
	Skipbadclients bool `json:"skipbadclients"`
	// SkipformMissingtoken default value is false
	SkipformMissingtoken bool `json:"skipform_missingtoken"`
	// Skiphtmlrewrite default value is false
	Skiphtmlrewrite bool `json:"skiphtmlrewrite"`
	// Skipurl default value is false
	Skipurl bool   `json:"skipurl"`
	Comment string `json:"comment"`
	// Op can be one of: []string{"AND", "OR"}
	// Op default value is "AND"
	Op string `json:"op"`
	// Skipform default value is false
	Skipform bool `json:"skipform"`
	// Skiptft default value is false
	Skiptft bool          `json:"skiptft"`
	Source  []interface{} `json:"source"`
	// Status default value is false
	Status                      bool          `json:"status"`
	Path                        []interface{} `json:"path"`
	SkipCustomThreatsFilters    []interface{} `json:"skip_custom_threats_filters"`
	SkipThreatsFilterCategories []interface{} `json:"skip_threats_filter_categories"`
	// Skipcookie default value is false
	Skipcookie bool `json:"skipcookie"`
}

ReverseProxyException represents a UTM webserver protection exception

func (*ReverseProxyException) DeletePath

func (*ReverseProxyException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyException DELETE path Creates or updates the complete object exception

func (*ReverseProxyException) GetPath

func (r *ReverseProxyException) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyExceptions GET path Returns all available exception types

func (*ReverseProxyException) PatchPath

func (*ReverseProxyException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyException PATCH path Changes to parts of the object exception types

func (*ReverseProxyException) PostPath

func (*ReverseProxyException) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyException POST path Create a new reverse_proxy/exception object

func (*ReverseProxyException) PutPath

func (*ReverseProxyException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyException PUT path Creates or updates the complete object exception

func (*ReverseProxyException) RefRequired

func (r *ReverseProxyException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyException) UsedByPath

func (*ReverseProxyException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyExceptions added in v0.1.1

type ReverseProxyExceptions []ReverseProxyException

ReverseProxyExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyExceptions) GetPath added in v0.1.1

func (*ReverseProxyExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyExceptions GET path Returns all available reverse_proxy/exception objects

func (*ReverseProxyExceptions) RefRequired added in v0.1.1

func (*ReverseProxyExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyFilter

type ReverseProxyFilter struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Expr       string `json:"expr"`
	Name       string `json:"name"`
	// Target can be one of: []string{"HTTP_REFERER", "REQUEST_URI", "THE_REQUEST"}
	Target string `json:"target"`
}

ReverseProxyFilter represents a UTM web application firewall filter rule

func (*ReverseProxyFilter) DeletePath

func (*ReverseProxyFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyFilter DELETE path Creates or updates the complete object filter

func (*ReverseProxyFilter) GetPath

func (r *ReverseProxyFilter) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFilters GET path Returns all available filter types

func (*ReverseProxyFilter) PatchPath

func (*ReverseProxyFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyFilter PATCH path Changes to parts of the object filter types

func (*ReverseProxyFilter) PostPath

func (*ReverseProxyFilter) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyFilter POST path Create a new reverse_proxy/filter object

func (*ReverseProxyFilter) PutPath

func (*ReverseProxyFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyFilter PUT path Creates or updates the complete object filter

func (*ReverseProxyFilter) RefRequired

func (r *ReverseProxyFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyFilter) UsedByPath

func (*ReverseProxyFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFilters added in v0.1.1

type ReverseProxyFilters []ReverseProxyFilter

ReverseProxyFilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyFilters) GetPath added in v0.1.1

func (*ReverseProxyFilters) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFilters GET path Returns all available reverse_proxy/filter objects

func (*ReverseProxyFilters) RefRequired added in v0.1.1

func (*ReverseProxyFilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyFormTemplate

type ReverseProxyFormTemplate struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Assets     struct {
		DefaultStylesheet_css string `json:"default_stylesheet.css"`
	} `json:"assets"`
	Comment  string `json:"comment"`
	Filename string `json:"filename"`
	Name     string `json:"name"`
	Template string `json:"template"`
}

ReverseProxyFormTemplate is a generated Sophos object

func (*ReverseProxyFormTemplate) DeletePath

func (*ReverseProxyFormTemplate) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyFormTemplate DELETE path Creates or updates the complete object form_template

func (*ReverseProxyFormTemplate) GetPath

func (r *ReverseProxyFormTemplate) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFormTemplates GET path Returns all available form_template types

func (*ReverseProxyFormTemplate) GetType

func (r *ReverseProxyFormTemplate) GetType() string

GetType implements sophos.Object

func (*ReverseProxyFormTemplate) PatchPath

func (*ReverseProxyFormTemplate) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyFormTemplate PATCH path Changes to parts of the object form_template types

func (*ReverseProxyFormTemplate) PostPath

func (*ReverseProxyFormTemplate) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyFormTemplate POST path Create a new reverse_proxy/form_template object

func (*ReverseProxyFormTemplate) PutPath

func (*ReverseProxyFormTemplate) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyFormTemplate PUT path Creates or updates the complete object form_template

func (*ReverseProxyFormTemplate) RefRequired

func (r *ReverseProxyFormTemplate) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyFormTemplate) UsedByPath

func (*ReverseProxyFormTemplate) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFormTemplates

type ReverseProxyFormTemplates []ReverseProxyFormTemplate

ReverseProxyFormTemplates is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyFormTemplates) GetPath

func (*ReverseProxyFormTemplates) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFormTemplates GET path Returns all available reverse_proxy/form_template objects

func (*ReverseProxyFormTemplates) RefRequired

func (*ReverseProxyFormTemplates) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyFrontend

type ReverseProxyFrontend struct {
	Locked               string        `json:"_locked"`
	Reference            string        `json:"_ref"`
	ObjectType           string        `json:"_type"`
	AddContentTypeHeader bool          `json:"add_content_type_header"`
	Address              string        `json:"address"`
	AllowedNetworks      []string      `json:"allowed_networks"`
	Certificate          string        `json:"certificate"`
	Comment              string        `json:"comment"`
	DisableCompression   bool          `json:"disable_compression"`
	Domain               []string      `json:"domain"`
	Exceptions           []interface{} `json:"exceptions"`
	Htmlrewrite          bool          `json:"htmlrewrite"`
	HtmlrewriteCookies   bool          `json:"htmlrewrite_cookies"`
	Implicitredirect     bool          `json:"implicitredirect"`
	Lbmethod             string        `json:"lbmethod"`
	Locations            []string      `json:"locations"`
	Name                 string        `json:"name"`
	Port                 int64         `json:"port"`
	Preservehost         bool          `json:"preservehost"`
	Profile              string        `json:"profile"`
	Status               bool          `json:"status"`
	Type                 string        `json:"type"`
	Xheaders             bool          `json:"xheaders"`
}

ReverseProxyFrontend is a generated Sophos object

func (*ReverseProxyFrontend) DeletePath

func (*ReverseProxyFrontend) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyFrontend DELETE path Creates or updates the complete object frontend

func (*ReverseProxyFrontend) GetPath

func (r *ReverseProxyFrontend) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFrontends GET path Returns all available frontend types

func (*ReverseProxyFrontend) GetType

func (r *ReverseProxyFrontend) GetType() string

GetType implements sophos.Object

func (*ReverseProxyFrontend) PatchPath

func (*ReverseProxyFrontend) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyFrontend PATCH path Changes to parts of the object frontend types

func (*ReverseProxyFrontend) PostPath

func (*ReverseProxyFrontend) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyFrontend POST path Create a new reverse_proxy/frontend object

func (*ReverseProxyFrontend) PutPath

func (*ReverseProxyFrontend) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyFrontend PUT path Creates or updates the complete object frontend

func (*ReverseProxyFrontend) RefRequired

func (r *ReverseProxyFrontend) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyFrontend) UsedByPath

func (*ReverseProxyFrontend) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFrontends

type ReverseProxyFrontends []ReverseProxyFrontend

ReverseProxyFrontends is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyFrontends) GetPath

func (*ReverseProxyFrontends) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFrontends GET path Returns all available reverse_proxy/frontend objects

func (*ReverseProxyFrontends) RefRequired

func (*ReverseProxyFrontends) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyGroup

type ReverseProxyGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ReverseProxyGroup represents a UTM group

func (*ReverseProxyGroup) DeletePath

func (*ReverseProxyGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyGroup DELETE path Creates or updates the complete object group

func (*ReverseProxyGroup) GetPath

func (r *ReverseProxyGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyGroups GET path Returns all available group types

func (*ReverseProxyGroup) PatchPath

func (*ReverseProxyGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyGroup PATCH path Changes to parts of the object group types

func (*ReverseProxyGroup) PostPath

func (*ReverseProxyGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyGroup POST path Create a new reverse_proxy/group object

func (*ReverseProxyGroup) PutPath

func (*ReverseProxyGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyGroup PUT path Creates or updates the complete object group

func (*ReverseProxyGroup) RefRequired

func (r *ReverseProxyGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyGroup) UsedByPath

func (*ReverseProxyGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyGroups added in v0.1.1

type ReverseProxyGroups []ReverseProxyGroup

ReverseProxyGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyGroups) GetPath added in v0.1.1

func (*ReverseProxyGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyGroups GET path Returns all available reverse_proxy/group objects

func (*ReverseProxyGroups) RefRequired added in v0.1.1

func (*ReverseProxyGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyLocation

type ReverseProxyLocation struct {
	Locked               string        `json:"_locked"`
	Reference            string        `json:"_ref"`
	ObjectType           string        `json:"_type"`
	AccessControl        string        `json:"access_control"`
	AllowedNetworks      []string      `json:"allowed_networks"`
	AuthProfile          string        `json:"auth_profile"`
	Backend              []string      `json:"backend"`
	BePath               string        `json:"be_path"`
	Comment              string        `json:"comment"`
	DeniedNetworks       []interface{} `json:"denied_networks"`
	HotStandby           bool          `json:"hot_standby"`
	Name                 string        `json:"name"`
	Path                 string        `json:"path"`
	Status               bool          `json:"status"`
	StickysessionID      string        `json:"stickysession_id"`
	StickysessionStatus  bool          `json:"stickysession_status"`
	WebsocketPassthrough bool          `json:"websocket_passthrough"`
}

ReverseProxyLocation is a generated Sophos object

func (*ReverseProxyLocation) DeletePath

func (*ReverseProxyLocation) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyLocation DELETE path Creates or updates the complete object location

func (*ReverseProxyLocation) GetPath

func (r *ReverseProxyLocation) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyLocations GET path Returns all available location types

func (*ReverseProxyLocation) GetType

func (r *ReverseProxyLocation) GetType() string

GetType implements sophos.Object

func (*ReverseProxyLocation) PatchPath

func (*ReverseProxyLocation) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyLocation PATCH path Changes to parts of the object location types

func (*ReverseProxyLocation) PostPath

func (*ReverseProxyLocation) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyLocation POST path Create a new reverse_proxy/location object

func (*ReverseProxyLocation) PutPath

func (*ReverseProxyLocation) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyLocation PUT path Creates or updates the complete object location

func (*ReverseProxyLocation) RefRequired

func (r *ReverseProxyLocation) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyLocation) UsedByPath

func (*ReverseProxyLocation) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyLocations

type ReverseProxyLocations []ReverseProxyLocation

ReverseProxyLocations is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyLocations) GetPath

func (*ReverseProxyLocations) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyLocations GET path Returns all available reverse_proxy/location objects

func (*ReverseProxyLocations) RefRequired

func (*ReverseProxyLocations) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyProfile

type ReverseProxyProfile struct {
	Locked                       string        `json:"_locked"`
	Reference                    string        `json:"_ref"`
	ObjectType                   string        `json:"_type"`
	Av                           bool          `json:"av"`
	AvBlockUnscannable           bool          `json:"av_block_unscannable"`
	AvDirections                 string        `json:"av_directions"`
	AvEngines                    string        `json:"av_engines"`
	AvSizeLimit                  int64         `json:"av_size_limit"`
	AvTimeout                    int64         `json:"av_timeout"`
	BadClients                   bool          `json:"bad_clients"`
	BadClientsNoDnslookup        bool          `json:"bad_clients_no_dnslookup"`
	Comment                      string        `json:"comment"`
	Cookiesign                   bool          `json:"cookiesign"`
	CookiesignDropUnsigned       bool          `json:"cookiesign_drop_unsigned"`
	CustomThreatsFilters         []interface{} `json:"custom_threats_filters"`
	Extensions                   []interface{} `json:"extensions"`
	Filter                       []interface{} `json:"filter"`
	FilterMode                   string        `json:"filter_mode"`
	Formhardening                bool          `json:"formhardening"`
	Name                         string        `json:"name"`
	Outlookanywhere              bool          `json:"outlookanywhere"`
	SecRequestBodyNoFilesLimit   int64         `json:"sec_request_body_no_files_limit"`
	Skipwafrules                 []int64       `json:"skipwafrules"`
	Tft                          bool          `json:"tft"`
	TftBlockUnscannable          bool          `json:"tft_block_unscannable"`
	TftBlockedMimeTypes          []interface{} `json:"tft_blocked_mime_types"`
	ThreatsFilter                bool          `json:"threats_filter"`
	ThreatsFilterCategories      []string      `json:"threats_filter_categories"`
	ThreatsFilterRigid           bool          `json:"threats_filter_rigid"`
	Urlhardening                 bool          `json:"urlhardening"`
	UrlhardeningEntrypages       []string      `json:"urlhardening_entrypages"`
	UrlhardeningEntrypagesSource string        `json:"urlhardening_entrypages_source"`
	UrlhardeningSitemapUpdate    int64         `json:"urlhardening_sitemap_update"`
	UrlhardeningSitemapURL       string        `json:"urlhardening_sitemap_url"`
	Waf                          bool          `json:"waf"`
	Wafmode                      string        `json:"wafmode"`
	Wafparanoia                  bool          `json:"wafparanoia"`
}

ReverseProxyProfile is a generated Sophos object

func (*ReverseProxyProfile) DeletePath

func (*ReverseProxyProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyProfile DELETE path Creates or updates the complete object profile

func (*ReverseProxyProfile) GetPath

func (r *ReverseProxyProfile) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyProfiles GET path Returns all available profile types

func (*ReverseProxyProfile) GetType

func (r *ReverseProxyProfile) GetType() string

GetType implements sophos.Object

func (*ReverseProxyProfile) PatchPath

func (*ReverseProxyProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyProfile PATCH path Changes to parts of the object profile types

func (*ReverseProxyProfile) PostPath

func (*ReverseProxyProfile) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyProfile POST path Create a new reverse_proxy/profile object

func (*ReverseProxyProfile) PutPath

func (*ReverseProxyProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyProfile PUT path Creates or updates the complete object profile

func (*ReverseProxyProfile) RefRequired

func (r *ReverseProxyProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyProfile) UsedByPath

func (*ReverseProxyProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyProfiles

type ReverseProxyProfiles []ReverseProxyProfile

ReverseProxyProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyProfiles) GetPath

func (*ReverseProxyProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyProfiles GET path Returns all available reverse_proxy/profile objects

func (*ReverseProxyProfiles) RefRequired

func (*ReverseProxyProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyRedirection

type ReverseProxyRedirection struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	// Status default value is false
	Status     bool   `json:"status"`
	TargetHost string `json:"target_host"`
	// TargetHostIpv6 default value is false
	TargetHostIpv6 bool `json:"target_host_ipv6"`
	// TargetPath default value is "/"
	TargetPath string `json:"target_path"`
	// Frontend description: REF(reverse_proxy/frontend)
	Frontend string `json:"frontend"`
	// ResponseCode can be one of: []string{"301", "302", "303", "307", "308"}
	// ResponseCode default value is "302"
	ResponseCode string `json:"response_code"`
	// SourcePath default value is "/"
	SourcePath string `json:"source_path"`
	TargetPort int    `json:"target_port"`
	// TargetProtocol can be one of: []string{"http", "https"}
	// TargetProtocol default value is "http"
	TargetProtocol string `json:"target_protocol"`
}

ReverseProxyRedirection represents a UTM request redirection

func (*ReverseProxyRedirection) DeletePath

func (*ReverseProxyRedirection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyRedirection DELETE path Creates or updates the complete object redirection

func (*ReverseProxyRedirection) GetPath

func (r *ReverseProxyRedirection) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyRedirections GET path Returns all available redirection types

func (*ReverseProxyRedirection) PatchPath

func (*ReverseProxyRedirection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyRedirection PATCH path Changes to parts of the object redirection types

func (*ReverseProxyRedirection) PostPath

func (*ReverseProxyRedirection) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyRedirection POST path Create a new reverse_proxy/redirection object

func (*ReverseProxyRedirection) PutPath

func (*ReverseProxyRedirection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyRedirection PUT path Creates or updates the complete object redirection

func (*ReverseProxyRedirection) RefRequired

func (r *ReverseProxyRedirection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyRedirection) UsedByPath

func (*ReverseProxyRedirection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyRedirections added in v0.1.1

type ReverseProxyRedirections []ReverseProxyRedirection

ReverseProxyRedirections is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyRedirections) GetPath added in v0.1.1

func (*ReverseProxyRedirections) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyRedirections GET path Returns all available reverse_proxy/redirection objects

func (*ReverseProxyRedirections) RefRequired added in v0.1.1

func (*ReverseProxyRedirections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyThreatsFilter

type ReverseProxyThreatsFilter struct {
	Locked           string        `json:"_locked"`
	ObjectType       string        `json:"_type"`
	Reference        string        `json:"_ref"`
	Name             string        `json:"name"`
	OrderedFilenames []interface{} `json:"ordered_filenames"`
	Comment          string        `json:"comment"`
	// Files description: (HASH)
	Files interface{} `json:"files"`
}

ReverseProxyThreatsFilter represents a UTM custom threat filter category

func (*ReverseProxyThreatsFilter) DeletePath

func (*ReverseProxyThreatsFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyThreatsFilter DELETE path Creates or updates the complete object threats_filter

func (*ReverseProxyThreatsFilter) GetPath

func (r *ReverseProxyThreatsFilter) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyThreatsFilters GET path Returns all available threats_filter types

func (*ReverseProxyThreatsFilter) PatchPath

func (*ReverseProxyThreatsFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter PATCH path Changes to parts of the object threats_filter types

func (*ReverseProxyThreatsFilter) PostPath

func (*ReverseProxyThreatsFilter) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter POST path Create a new reverse_proxy/threats_filter object

func (*ReverseProxyThreatsFilter) PutPath

func (*ReverseProxyThreatsFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter PUT path Creates or updates the complete object threats_filter

func (*ReverseProxyThreatsFilter) RefRequired

func (r *ReverseProxyThreatsFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyThreatsFilter) UsedByPath

func (*ReverseProxyThreatsFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyThreatsFilters added in v0.1.1

type ReverseProxyThreatsFilters []ReverseProxyThreatsFilter

ReverseProxyThreatsFilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyThreatsFilters) GetPath added in v0.1.1

GetPath implements sophos.RestObject and returns the ReverseProxyThreatsFilters GET path Returns all available reverse_proxy/threats_filter objects

func (*ReverseProxyThreatsFilters) RefRequired added in v0.1.1

func (*ReverseProxyThreatsFilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Right struct {
	RightGroup RightGroup `json:"right_group"`
	RightRight RightRight `json:"right_right"`
}

Right is a generated struct representing the Sophos Right Endpoint GET /api/nodes/right

func (Right) ApiRoutes

func (Right) ApiRoutes() []string

ApiRoutes returns all known Right Paths

func (Right) Definition

func (Right) Definition() sophos.Definition

Definition returns the /api/definitions struct of Right

func (*Right) GetPath

func (*Right) GetPath() string

GetPath implements sophos.RestGetter

func (*Right) RefRequired

func (*Right) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Right) References

func (Right) References() []string

References returns the Right's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Right) RestObjects

func (Right) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Right's Objects

type RightGroup

type RightGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
}

RightGroup represents a UTM group

func (*RightGroup) DeletePath

func (*RightGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RightGroup DELETE path Creates or updates the complete object group

func (*RightGroup) GetPath

func (r *RightGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RightGroups GET path Returns all available group types

func (*RightGroup) PatchPath

func (*RightGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RightGroup PATCH path Changes to parts of the object group types

func (*RightGroup) PostPath

func (*RightGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RightGroup POST path Create a new right/group object

func (*RightGroup) PutPath

func (*RightGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RightGroup PUT path Creates or updates the complete object group

func (*RightGroup) RefRequired

func (r *RightGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RightGroup) UsedByPath

func (*RightGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RightGroups added in v0.1.1

type RightGroups []RightGroup

RightGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*RightGroups) GetPath added in v0.1.1

func (*RightGroups) GetPath() string

GetPath implements sophos.RestObject and returns the RightGroups GET path Returns all available right/group objects

func (*RightGroups) RefRequired added in v0.1.1

func (*RightGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type RightRight

type RightRight struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

RightRight is a generated Sophos object

func (*RightRight) DeletePath

func (*RightRight) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RightRight DELETE path Creates or updates the complete object right

func (*RightRight) GetPath

func (r *RightRight) GetPath() string

GetPath implements sophos.RestObject and returns the RightRights GET path Returns all available right types

func (*RightRight) GetType

func (r *RightRight) GetType() string

GetType implements sophos.Object

func (*RightRight) PatchPath

func (*RightRight) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RightRight PATCH path Changes to parts of the object right types

func (*RightRight) PostPath

func (*RightRight) PostPath() string

PostPath implements sophos.RestObject and returns the RightRight POST path Create a new right/right object

func (*RightRight) PutPath

func (*RightRight) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RightRight PUT path Creates or updates the complete object right

func (*RightRight) RefRequired

func (r *RightRight) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RightRight) UsedByPath

func (*RightRight) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RightRights

type RightRights []RightRight

RightRights is an Sophos Endpoint subType and implements sophos.RestObject

func (*RightRights) GetPath

func (*RightRights) GetPath() string

GetPath implements sophos.RestObject and returns the RightRights GET path Returns all available right/right objects

func (*RightRights) RefRequired

func (*RightRights) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Role

type Role struct {
	RoleGroup RoleGroup `json:"role_group"`
	RoleRole  RoleRole  `json:"role_role"`
}

Role is a generated struct representing the Sophos Role Endpoint GET /api/nodes/role

func (Role) ApiRoutes

func (Role) ApiRoutes() []string

ApiRoutes returns all known Role Paths

func (Role) Definition

func (Role) Definition() sophos.Definition

Definition returns the /api/definitions struct of Role

func (*Role) GetPath

func (*Role) GetPath() string

GetPath implements sophos.RestGetter

func (*Role) RefRequired

func (*Role) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Role) References

func (Role) References() []string

References returns the Role's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Role) RestObjects

func (Role) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Role's Objects

type RoleGroup

type RoleGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

RoleGroup represents a UTM group

func (*RoleGroup) DeletePath

func (*RoleGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RoleGroup DELETE path Creates or updates the complete object group

func (*RoleGroup) GetPath

func (r *RoleGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RoleGroups GET path Returns all available group types

func (*RoleGroup) PatchPath

func (*RoleGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RoleGroup PATCH path Changes to parts of the object group types

func (*RoleGroup) PostPath

func (*RoleGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RoleGroup POST path Create a new role/group object

func (*RoleGroup) PutPath

func (*RoleGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RoleGroup PUT path Creates or updates the complete object group

func (*RoleGroup) RefRequired

func (r *RoleGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RoleGroup) UsedByPath

func (*RoleGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RoleGroups added in v0.1.1

type RoleGroups []RoleGroup

RoleGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*RoleGroups) GetPath added in v0.1.1

func (*RoleGroups) GetPath() string

GetPath implements sophos.RestObject and returns the RoleGroups GET path Returns all available role/group objects

func (*RoleGroups) RefRequired added in v0.1.1

func (*RoleGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type RoleRole

type RoleRole struct {
	Locked         string   `json:"_locked"`
	Reference      string   `json:"_ref"`
	ObjectType     string   `json:"_type"`
	Comment        string   `json:"comment"`
	Members        []string `json:"members"`
	Name           string   `json:"name"`
	Rights         []string `json:"rights"`
	WebadminAccess bool     `json:"webadmin_access"`
}

RoleRole is a generated Sophos object

func (*RoleRole) DeletePath

func (*RoleRole) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RoleRole DELETE path Creates or updates the complete object role

func (*RoleRole) GetPath

func (r *RoleRole) GetPath() string

GetPath implements sophos.RestObject and returns the RoleRoles GET path Returns all available role types

func (*RoleRole) GetType

func (r *RoleRole) GetType() string

GetType implements sophos.Object

func (*RoleRole) PatchPath

func (*RoleRole) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RoleRole PATCH path Changes to parts of the object role types

func (*RoleRole) PostPath

func (*RoleRole) PostPath() string

PostPath implements sophos.RestObject and returns the RoleRole POST path Create a new role/role object

func (*RoleRole) PutPath

func (*RoleRole) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RoleRole PUT path Creates or updates the complete object role

func (*RoleRole) RefRequired

func (r *RoleRole) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RoleRole) UsedByPath

func (*RoleRole) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RoleRoles

type RoleRoles []RoleRole

RoleRoles is an Sophos Endpoint subType and implements sophos.RestObject

func (*RoleRoles) GetPath

func (*RoleRoles) GetPath() string

GetPath implements sophos.RestObject and returns the RoleRoles GET path Returns all available role/role objects

func (*RoleRoles) RefRequired

func (*RoleRoles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Route

type Route struct {
	RouteGroup  RouteGroup  `json:"route_group"`
	RoutePolicy RoutePolicy `json:"route_policy"`
	RouteStatic RouteStatic `json:"route_static"`
}

Route is a generated struct representing the Sophos Route Endpoint GET /api/nodes/route

func (Route) ApiRoutes

func (Route) ApiRoutes() []string

ApiRoutes returns all known Route Paths

func (Route) Definition

func (Route) Definition() sophos.Definition

Definition returns the /api/definitions struct of Route

func (*Route) GetPath

func (*Route) GetPath() string

GetPath implements sophos.RestGetter

func (*Route) RefRequired

func (*Route) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Route) References

func (Route) References() []string

References returns the Route's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Route) RestObjects

func (Route) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Route's Objects

type RouteGroup

type RouteGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

RouteGroup represents a UTM group

func (*RouteGroup) DeletePath

func (*RouteGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RouteGroup DELETE path Creates or updates the complete object group

func (*RouteGroup) GetPath

func (r *RouteGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RouteGroups GET path Returns all available group types

func (*RouteGroup) PatchPath

func (*RouteGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RouteGroup PATCH path Changes to parts of the object group types

func (*RouteGroup) PostPath

func (*RouteGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RouteGroup POST path Create a new route/group object

func (*RouteGroup) PutPath

func (*RouteGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RouteGroup PUT path Creates or updates the complete object group

func (*RouteGroup) RefRequired

func (r *RouteGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RouteGroup) UsedByPath

func (*RouteGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RouteGroups added in v0.1.1

type RouteGroups []RouteGroup

RouteGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*RouteGroups) GetPath added in v0.1.1

func (*RouteGroups) GetPath() string

GetPath implements sophos.RestObject and returns the RouteGroups GET path Returns all available route/group objects

func (*RouteGroups) RefRequired added in v0.1.1

func (*RouteGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type RoutePolicy

type RoutePolicy struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// Destination description: REF(network/*)
	Destination string `json:"destination"`
	// Interface description: REF(interface/*)
	Interface string `json:"interface"`
	// Status default value is false
	Status bool   `json:"status"`
	Name   string `json:"name"`
	// Service description: REF(service/*)
	Service string `json:"service"`
	// Source description: REF(network/*)
	Source string `json:"source"`
	// Target description: REF(/*)
	Target string `json:"target"`
	// Type can be one of: []string{"itf", "host"}
	Type string `json:"type"`
}

RoutePolicy represents a UTM policy route

func (*RoutePolicy) DeletePath

func (*RoutePolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RoutePolicy DELETE path Creates or updates the complete object policy

func (*RoutePolicy) GetPath

func (r *RoutePolicy) GetPath() string

GetPath implements sophos.RestObject and returns the RoutePolicys GET path Returns all available policy types

func (*RoutePolicy) PatchPath

func (*RoutePolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RoutePolicy PATCH path Changes to parts of the object policy types

func (*RoutePolicy) PostPath

func (*RoutePolicy) PostPath() string

PostPath implements sophos.RestObject and returns the RoutePolicy POST path Create a new route/policy object

func (*RoutePolicy) PutPath

func (*RoutePolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RoutePolicy PUT path Creates or updates the complete object policy

func (*RoutePolicy) RefRequired

func (r *RoutePolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RoutePolicy) UsedByPath

func (*RoutePolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RoutePolicys added in v0.1.1

type RoutePolicys []RoutePolicy

RoutePolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*RoutePolicys) GetPath added in v0.1.1

func (*RoutePolicys) GetPath() string

GetPath implements sophos.RestObject and returns the RoutePolicys GET path Returns all available route/policy objects

func (*RoutePolicys) RefRequired added in v0.1.1

func (*RoutePolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type RouteStatic

type RouteStatic struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Metric     int64  `json:"metric"`
	Name       string `json:"name"`
	Network    string `json:"network"`
	Status     bool   `json:"status"`
	Target     string `json:"target"`
	Type       string `json:"type"`
}

RouteStatic is a generated Sophos object

func (*RouteStatic) DeletePath

func (*RouteStatic) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RouteStatic DELETE path Creates or updates the complete object static

func (*RouteStatic) GetPath

func (r *RouteStatic) GetPath() string

GetPath implements sophos.RestObject and returns the RouteStatics GET path Returns all available static types

func (*RouteStatic) GetType

func (r *RouteStatic) GetType() string

GetType implements sophos.Object

func (*RouteStatic) PatchPath

func (*RouteStatic) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RouteStatic PATCH path Changes to parts of the object static types

func (*RouteStatic) PostPath

func (*RouteStatic) PostPath() string

PostPath implements sophos.RestObject and returns the RouteStatic POST path Create a new route/static object

func (*RouteStatic) PutPath

func (*RouteStatic) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RouteStatic PUT path Creates or updates the complete object static

func (*RouteStatic) RefRequired

func (r *RouteStatic) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RouteStatic) UsedByPath

func (*RouteStatic) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RouteStatics

type RouteStatics []RouteStatic

RouteStatics is an Sophos Endpoint subType and implements sophos.RestObject

func (*RouteStatics) GetPath

func (*RouteStatics) GetPath() string

GetPath implements sophos.RestObject and returns the RouteStatics GET path Returns all available route/static objects

func (*RouteStatics) RefRequired

func (*RouteStatics) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Scheduler

type Scheduler struct {
	SchedulerGroup       SchedulerGroup       `json:"scheduler_group"`
	SchedulerLoadbalance SchedulerLoadbalance `json:"scheduler_loadbalance"`
	SchedulerRule        SchedulerRule        `json:"scheduler_rule"`
}

Scheduler is a generated struct representing the Sophos Scheduler Endpoint GET /api/nodes/scheduler

func (Scheduler) ApiRoutes

func (Scheduler) ApiRoutes() []string

ApiRoutes returns all known Scheduler Paths

func (Scheduler) Definition

func (Scheduler) Definition() sophos.Definition

Definition returns the /api/definitions struct of Scheduler

func (*Scheduler) GetPath

func (*Scheduler) GetPath() string

GetPath implements sophos.RestGetter

func (*Scheduler) RefRequired

func (*Scheduler) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Scheduler) References

func (Scheduler) References() []string

References returns the Scheduler's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Scheduler) RestObjects

func (Scheduler) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Scheduler's Objects

type SchedulerGroup

type SchedulerGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

SchedulerGroup represents a UTM group

func (*SchedulerGroup) DeletePath

func (*SchedulerGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SchedulerGroup DELETE path Creates or updates the complete object group

func (*SchedulerGroup) GetPath

func (s *SchedulerGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerGroups GET path Returns all available group types

func (*SchedulerGroup) PatchPath

func (*SchedulerGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SchedulerGroup PATCH path Changes to parts of the object group types

func (*SchedulerGroup) PostPath

func (*SchedulerGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SchedulerGroup POST path Create a new scheduler/group object

func (*SchedulerGroup) PutPath

func (*SchedulerGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SchedulerGroup PUT path Creates or updates the complete object group

func (*SchedulerGroup) RefRequired

func (s *SchedulerGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SchedulerGroup) UsedByPath

func (*SchedulerGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SchedulerGroups added in v0.1.1

type SchedulerGroups []SchedulerGroup

SchedulerGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*SchedulerGroups) GetPath added in v0.1.1

func (*SchedulerGroups) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerGroups GET path Returns all available scheduler/group objects

func (*SchedulerGroups) RefRequired added in v0.1.1

func (*SchedulerGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SchedulerLoadbalance

type SchedulerLoadbalance struct {
	Locked          string        `json:"_locked"`
	Reference       string        `json:"_ref"`
	ObjectType      string        `json:"_type"`
	Algorithm       string        `json:"algorithm"`
	CheckData       string        `json:"check_data"`
	CheckHosts      []interface{} `json:"check_hosts"`
	CheckInterval   int64         `json:"check_interval"`
	CheckPort       int64         `json:"check_port"`
	CheckTimeout    int64         `json:"check_timeout"`
	CheckType       string        `json:"check_type"`
	Comment         string        `json:"comment"`
	Name            string        `json:"name"`
	Persistence     bool          `json:"persistence"`
	PersistenceHash string        `json:"persistence_hash"`
	PersistenceSize int64         `json:"persistence_size"`
	PersistenceTime int64         `json:"persistence_time"`
	Weight          struct{}      `json:"weight"`
}

SchedulerLoadbalance is a generated Sophos object

func (*SchedulerLoadbalance) DeletePath

func (*SchedulerLoadbalance) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SchedulerLoadbalance DELETE path Creates or updates the complete object loadbalance

func (*SchedulerLoadbalance) GetPath

func (s *SchedulerLoadbalance) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerLoadbalances GET path Returns all available loadbalance types

func (*SchedulerLoadbalance) GetType

func (s *SchedulerLoadbalance) GetType() string

GetType implements sophos.Object

func (*SchedulerLoadbalance) PatchPath

func (*SchedulerLoadbalance) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SchedulerLoadbalance PATCH path Changes to parts of the object loadbalance types

func (*SchedulerLoadbalance) PostPath

func (*SchedulerLoadbalance) PostPath() string

PostPath implements sophos.RestObject and returns the SchedulerLoadbalance POST path Create a new scheduler/loadbalance object

func (*SchedulerLoadbalance) PutPath

func (*SchedulerLoadbalance) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SchedulerLoadbalance PUT path Creates or updates the complete object loadbalance

func (*SchedulerLoadbalance) RefRequired

func (s *SchedulerLoadbalance) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SchedulerLoadbalance) UsedByPath

func (*SchedulerLoadbalance) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SchedulerLoadbalances

type SchedulerLoadbalances []SchedulerLoadbalance

SchedulerLoadbalances is an Sophos Endpoint subType and implements sophos.RestObject

func (*SchedulerLoadbalances) GetPath

func (*SchedulerLoadbalances) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerLoadbalances GET path Returns all available scheduler/loadbalance objects

func (*SchedulerLoadbalances) RefRequired

func (*SchedulerLoadbalances) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SchedulerRule

type SchedulerRule struct {
	Locked          string `json:"_locked"`
	Reference       string `json:"_ref"`
	ObjectType      string `json:"_type"`
	Comment         string `json:"comment"`
	Destination     string `json:"destination"`
	Interface       string `json:"interface"`
	InterfaceGroup  string `json:"interface_group"`
	Name            string `json:"name"`
	Persistence     bool   `json:"persistence"`
	PersistenceHash string `json:"persistence_hash"`
	Service         string `json:"service"`
	SkipOnError     bool   `json:"skip_on_error"`
	Source          string `json:"source"`
	Status          bool   `json:"status"`
}

SchedulerRule is a generated Sophos object

func (*SchedulerRule) DeletePath

func (*SchedulerRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SchedulerRule DELETE path Creates or updates the complete object rule

func (*SchedulerRule) GetPath

func (s *SchedulerRule) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerRules GET path Returns all available rule types

func (*SchedulerRule) GetType

func (s *SchedulerRule) GetType() string

GetType implements sophos.Object

func (*SchedulerRule) PatchPath

func (*SchedulerRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SchedulerRule PATCH path Changes to parts of the object rule types

func (*SchedulerRule) PostPath

func (*SchedulerRule) PostPath() string

PostPath implements sophos.RestObject and returns the SchedulerRule POST path Create a new scheduler/rule object

func (*SchedulerRule) PutPath

func (*SchedulerRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SchedulerRule PUT path Creates or updates the complete object rule

func (*SchedulerRule) RefRequired

func (s *SchedulerRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SchedulerRule) UsedByPath

func (*SchedulerRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SchedulerRules

type SchedulerRules []SchedulerRule

SchedulerRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*SchedulerRules) GetPath

func (*SchedulerRules) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerRules GET path Returns all available scheduler/rule objects

func (*SchedulerRules) RefRequired

func (*SchedulerRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Service

type Service struct {
	ServiceAh     ServiceAh     `json:"service_ah"`
	ServiceAny    ServiceAny    `json:"service_any"`
	ServiceEsp    ServiceEsp    `json:"service_esp"`
	ServiceGroup  ServiceGroup  `json:"service_group"`
	ServiceIcmp   ServiceIcmp   `json:"service_icmp"`
	ServiceIcmpv6 ServiceIcmpv6 `json:"service_icmpv6"`
	ServiceIp     ServiceIp     `json:"service_ip"`
	ServiceTcp    ServiceTcp    `json:"service_tcp"`
	ServiceTcpudp ServiceTcpudp `json:"service_tcpudp"`
	ServiceUdp    ServiceUdp    `json:"service_udp"`
}

Service is a generated struct representing the Sophos Service Endpoint GET /api/nodes/service

func (Service) ApiRoutes

func (Service) ApiRoutes() []string

ApiRoutes returns all known Service Paths

func (Service) Definition

func (Service) Definition() sophos.Definition

Definition returns the /api/definitions struct of Service

func (*Service) GetPath

func (*Service) GetPath() string

GetPath implements sophos.RestGetter

func (*Service) RefRequired

func (*Service) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Service) References

func (Service) References() []string

References returns the Service's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Service) RestObjects

func (Service) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Service's Objects

type ServiceAh

type ServiceAh struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	SpiHigh    int    `json:"spi_high"`
	SpiLow     int    `json:"spi_low"`
	Comment    string `json:"comment"`
}

ServiceAh represents a UTM AH service

func (*ServiceAh) DeletePath

func (*ServiceAh) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceAh DELETE path Creates or updates the complete object ah

func (*ServiceAh) GetPath

func (s *ServiceAh) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAhs GET path Returns all available ah types

func (*ServiceAh) PatchPath

func (*ServiceAh) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceAh PATCH path Changes to parts of the object ah types

func (*ServiceAh) PostPath

func (*ServiceAh) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceAh POST path Create a new service/ah object

func (*ServiceAh) PutPath

func (*ServiceAh) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceAh PUT path Creates or updates the complete object ah

func (*ServiceAh) RefRequired

func (s *ServiceAh) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceAh) UsedByPath

func (*ServiceAh) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceAhs added in v0.1.1

type ServiceAhs []ServiceAh

ServiceAhs is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceAhs) GetPath added in v0.1.1

func (*ServiceAhs) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAhs GET path Returns all available service/ah objects

func (*ServiceAhs) RefRequired added in v0.1.1

func (*ServiceAhs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceAny

type ServiceAny struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

ServiceAny is a generated Sophos object

func (*ServiceAny) DeletePath

func (*ServiceAny) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceAny DELETE path Creates or updates the complete object any

func (*ServiceAny) GetPath

func (s *ServiceAny) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAnys GET path Returns all available any types

func (*ServiceAny) GetType

func (s *ServiceAny) GetType() string

GetType implements sophos.Object

func (*ServiceAny) PatchPath

func (*ServiceAny) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceAny PATCH path Changes to parts of the object any types

func (*ServiceAny) PostPath

func (*ServiceAny) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceAny POST path Create a new service/any object

func (*ServiceAny) PutPath

func (*ServiceAny) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceAny PUT path Creates or updates the complete object any

func (*ServiceAny) RefRequired

func (s *ServiceAny) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceAny) UsedByPath

func (*ServiceAny) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceAnys

type ServiceAnys []ServiceAny

ServiceAnys is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceAnys) GetPath

func (*ServiceAnys) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAnys GET path Returns all available service/any objects

func (*ServiceAnys) RefRequired

func (*ServiceAnys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceEsp

type ServiceEsp struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	SpiHigh    int    `json:"spi_high"`
	SpiLow     int    `json:"spi_low"`
}

ServiceEsp represents a UTM ESP service

func (*ServiceEsp) DeletePath

func (*ServiceEsp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceEsp DELETE path Creates or updates the complete object esp

func (*ServiceEsp) GetPath

func (s *ServiceEsp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceEsps GET path Returns all available esp types

func (*ServiceEsp) PatchPath

func (*ServiceEsp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceEsp PATCH path Changes to parts of the object esp types

func (*ServiceEsp) PostPath

func (*ServiceEsp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceEsp POST path Create a new service/esp object

func (*ServiceEsp) PutPath

func (*ServiceEsp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceEsp PUT path Creates or updates the complete object esp

func (*ServiceEsp) RefRequired

func (s *ServiceEsp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceEsp) UsedByPath

func (*ServiceEsp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceEsps added in v0.1.1

type ServiceEsps []ServiceEsp

ServiceEsps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceEsps) GetPath added in v0.1.1

func (*ServiceEsps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceEsps GET path Returns all available service/esp objects

func (*ServiceEsps) RefRequired added in v0.1.1

func (*ServiceEsps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceGroup

type ServiceGroup struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	Members    []string `json:"members"`
	Name       string   `json:"name"`
	Types      []string `json:"types"`
}

ServiceGroup is a generated Sophos object

func (*ServiceGroup) DeletePath

func (*ServiceGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceGroup DELETE path Creates or updates the complete object group

func (*ServiceGroup) GetPath

func (s *ServiceGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceGroups GET path Returns all available group types

func (*ServiceGroup) GetType

func (s *ServiceGroup) GetType() string

GetType implements sophos.Object

func (*ServiceGroup) PatchPath

func (*ServiceGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceGroup PATCH path Changes to parts of the object group types

func (*ServiceGroup) PostPath

func (*ServiceGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceGroup POST path Create a new service/group object

func (*ServiceGroup) PutPath

func (*ServiceGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceGroup PUT path Creates or updates the complete object group

func (*ServiceGroup) RefRequired

func (s *ServiceGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceGroup) UsedByPath

func (*ServiceGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceGroups

type ServiceGroups []ServiceGroup

ServiceGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceGroups) GetPath

func (*ServiceGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceGroups GET path Returns all available service/group objects

func (*ServiceGroups) RefRequired

func (*ServiceGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceIcmp

type ServiceIcmp struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Code       int64  `json:"code"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Type       int64  `json:"type"`
}

ServiceIcmp is a generated Sophos object

func (*ServiceIcmp) DeletePath

func (*ServiceIcmp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceIcmp DELETE path Creates or updates the complete object icmp

func (*ServiceIcmp) GetPath

func (s *ServiceIcmp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmps GET path Returns all available icmp types

func (*ServiceIcmp) GetType

func (s *ServiceIcmp) GetType() string

GetType implements sophos.Object

func (*ServiceIcmp) PatchPath

func (*ServiceIcmp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceIcmp PATCH path Changes to parts of the object icmp types

func (*ServiceIcmp) PostPath

func (*ServiceIcmp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceIcmp POST path Create a new service/icmp object

func (*ServiceIcmp) PutPath

func (*ServiceIcmp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceIcmp PUT path Creates or updates the complete object icmp

func (*ServiceIcmp) RefRequired

func (s *ServiceIcmp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceIcmp) UsedByPath

func (*ServiceIcmp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceIcmps

type ServiceIcmps []ServiceIcmp

ServiceIcmps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceIcmps) GetPath

func (*ServiceIcmps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmps GET path Returns all available service/icmp objects

func (*ServiceIcmps) RefRequired

func (*ServiceIcmps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceIcmpv6

type ServiceIcmpv6 struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Code       int    `json:"code"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Type       int    `json:"type"`
}

ServiceIcmpv6 represents a UTM ICMPv6 service

func (*ServiceIcmpv6) DeletePath

func (*ServiceIcmpv6) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceIcmpv6 DELETE path Creates or updates the complete object icmpv6

func (*ServiceIcmpv6) GetPath

func (s *ServiceIcmpv6) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmpv6s GET path Returns all available icmpv6 types

func (*ServiceIcmpv6) PatchPath

func (*ServiceIcmpv6) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceIcmpv6 PATCH path Changes to parts of the object icmpv6 types

func (*ServiceIcmpv6) PostPath

func (*ServiceIcmpv6) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceIcmpv6 POST path Create a new service/icmpv6 object

func (*ServiceIcmpv6) PutPath

func (*ServiceIcmpv6) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceIcmpv6 PUT path Creates or updates the complete object icmpv6

func (*ServiceIcmpv6) RefRequired

func (s *ServiceIcmpv6) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceIcmpv6) UsedByPath

func (*ServiceIcmpv6) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceIcmpv6s added in v0.1.1

type ServiceIcmpv6s []ServiceIcmpv6

ServiceIcmpv6s is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceIcmpv6s) GetPath added in v0.1.1

func (*ServiceIcmpv6s) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmpv6s GET path Returns all available service/icmpv6 objects

func (*ServiceIcmpv6s) RefRequired added in v0.1.1

func (*ServiceIcmpv6s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceIp

type ServiceIp struct {
	Locked     string `json:"_locked"`
	Reference  string `json:"_ref"`
	ObjectType string `json:"_type"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	Proto      int64  `json:"proto"`
}

ServiceIp is a generated Sophos object

func (*ServiceIp) DeletePath

func (*ServiceIp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceIp DELETE path Creates or updates the complete object ip

func (*ServiceIp) GetPath

func (s *ServiceIp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIps GET path Returns all available ip types

func (*ServiceIp) GetType

func (s *ServiceIp) GetType() string

GetType implements sophos.Object

func (*ServiceIp) PatchPath

func (*ServiceIp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceIp PATCH path Changes to parts of the object ip types

func (*ServiceIp) PostPath

func (*ServiceIp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceIp POST path Create a new service/ip object

func (*ServiceIp) PutPath

func (*ServiceIp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceIp PUT path Creates or updates the complete object ip

func (*ServiceIp) RefRequired

func (s *ServiceIp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceIp) UsedByPath

func (*ServiceIp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceIps

type ServiceIps []ServiceIp

ServiceIps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceIps) GetPath

func (*ServiceIps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIps GET path Returns all available service/ip objects

func (*ServiceIps) RefRequired

func (*ServiceIps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceTcp

type ServiceTcp struct {
	Locked       string `json:"_locked"`
	Reference    string `json:"_ref"`
	ObjectType   string `json:"_type"`
	AutoPfSvcDst string `json:"auto_pf_svc_dst"`
	AutoPfSvcSrc string `json:"auto_pf_svc_src"`
	Comment      string `json:"comment"`
	DstHigh      int64  `json:"dst_high"`
	DstLow       int64  `json:"dst_low"`
	Name         string `json:"name"`
	SrcHigh      int64  `json:"src_high"`
	SrcLow       int64  `json:"src_low"`
}

ServiceTcp is a generated Sophos object

func (*ServiceTcp) DeletePath

func (*ServiceTcp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceTcp DELETE path Creates or updates the complete object tcp

func (*ServiceTcp) GetPath

func (s *ServiceTcp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcps GET path Returns all available tcp types

func (*ServiceTcp) GetType

func (s *ServiceTcp) GetType() string

GetType implements sophos.Object

func (*ServiceTcp) PatchPath

func (*ServiceTcp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceTcp PATCH path Changes to parts of the object tcp types

func (*ServiceTcp) PostPath

func (*ServiceTcp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceTcp POST path Create a new service/tcp object

func (*ServiceTcp) PutPath

func (*ServiceTcp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceTcp PUT path Creates or updates the complete object tcp

func (*ServiceTcp) RefRequired

func (s *ServiceTcp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceTcp) UsedByPath

func (*ServiceTcp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceTcps

type ServiceTcps []ServiceTcp

ServiceTcps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceTcps) GetPath

func (*ServiceTcps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcps GET path Returns all available service/tcp objects

func (*ServiceTcps) RefRequired

func (*ServiceTcps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceTcpudp

type ServiceTcpudp struct {
	Locked       string `json:"_locked"`
	Reference    string `json:"_ref"`
	ObjectType   string `json:"_type"`
	AutoPfSvcDst string `json:"auto_pf_svc_dst"`
	AutoPfSvcSrc string `json:"auto_pf_svc_src"`
	Comment      string `json:"comment"`
	DstHigh      int64  `json:"dst_high"`
	DstLow       int64  `json:"dst_low"`
	Name         string `json:"name"`
	SrcHigh      int64  `json:"src_high"`
	SrcLow       int64  `json:"src_low"`
}

ServiceTcpudp is a generated Sophos object

func (*ServiceTcpudp) DeletePath

func (*ServiceTcpudp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceTcpudp DELETE path Creates or updates the complete object tcpudp

func (*ServiceTcpudp) GetPath

func (s *ServiceTcpudp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcpudps GET path Returns all available tcpudp types

func (*ServiceTcpudp) GetType

func (s *ServiceTcpudp) GetType() string

GetType implements sophos.Object

func (*ServiceTcpudp) PatchPath

func (*ServiceTcpudp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceTcpudp PATCH path Changes to parts of the object tcpudp types

func (*ServiceTcpudp) PostPath

func (*ServiceTcpudp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceTcpudp POST path Create a new service/tcpudp object

func (*ServiceTcpudp) PutPath

func (*ServiceTcpudp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceTcpudp PUT path Creates or updates the complete object tcpudp

func (*ServiceTcpudp) RefRequired

func (s *ServiceTcpudp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceTcpudp) UsedByPath

func (*ServiceTcpudp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceTcpudps

type ServiceTcpudps []ServiceTcpudp

ServiceTcpudps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceTcpudps) GetPath

func (*ServiceTcpudps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcpudps GET path Returns all available service/tcpudp objects

func (*ServiceTcpudps) RefRequired

func (*ServiceTcpudps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceUdp

type ServiceUdp struct {
	Locked       string `json:"_locked"`
	Reference    string `json:"_ref"`
	ObjectType   string `json:"_type"`
	AutoPfSvcDst string `json:"auto_pf_svc_dst"`
	AutoPfSvcSrc string `json:"auto_pf_svc_src"`
	Comment      string `json:"comment"`
	DstHigh      int64  `json:"dst_high"`
	DstLow       int64  `json:"dst_low"`
	Name         string `json:"name"`
	SrcHigh      int64  `json:"src_high"`
	SrcLow       int64  `json:"src_low"`
}

ServiceUdp is a generated Sophos object

func (*ServiceUdp) DeletePath

func (*ServiceUdp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceUdp DELETE path Creates or updates the complete object udp

func (*ServiceUdp) GetPath

func (s *ServiceUdp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceUdps GET path Returns all available udp types

func (*ServiceUdp) GetType

func (s *ServiceUdp) GetType() string

GetType implements sophos.Object

func (*ServiceUdp) PatchPath

func (*ServiceUdp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceUdp PATCH path Changes to parts of the object udp types

func (*ServiceUdp) PostPath

func (*ServiceUdp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceUdp POST path Create a new service/udp object

func (*ServiceUdp) PutPath

func (*ServiceUdp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceUdp PUT path Creates or updates the complete object udp

func (*ServiceUdp) RefRequired

func (s *ServiceUdp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceUdp) UsedByPath

func (*ServiceUdp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceUdps

type ServiceUdps []ServiceUdp

ServiceUdps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceUdps) GetPath

func (*ServiceUdps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceUdps GET path Returns all available service/udp objects

func (*ServiceUdps) RefRequired

func (*ServiceUdps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Smtp

type Smtp struct {
	AuthAaa                   []interface{} `json:"auth_aaa"`
	AuthStatus                int64         `json:"auth_status"`
	AvFooter                  string        `json:"av_footer"`
	AvFooterStatus            int64         `json:"av_footer_status"`
	BatvSecret                string        `json:"batv_secret"`
	BlockerService            string        `json:"blocker_service"`
	CffAsMarker               string        `json:"cff_as_marker"`
	DkimDomains               []interface{} `json:"dkim_domains"`
	DkimPrivateKey            string        `json:"dkim_private_key"`
	DkimSelector              string        `json:"dkim_selector"`
	EnableOldExpressionFilter int64         `json:"enable_old_expression_filter"`
	EncryptionUtility         string        `json:"encryption_utility"`
	Exceptions                []interface{} `json:"exceptions"`
	FootersMode               string        `json:"footers_mode"`
	GlobalAsReject            string        `json:"global_as_reject"`
	GlobalAvReject            int64         `json:"global_av_reject"`
	GlobalProfile             string        `json:"global_profile"`
	HostBlacklist             []interface{} `json:"host_blacklist"`
	Hostname                  string        `json:"hostname"`
	MaxMessageSize            int64         `json:"max_message_size"`
	Mode                      string        `json:"mode"`
	ParentProxyAuthPass       string        `json:"parent_proxy_auth_pass"`
	ParentProxyAuthStatus     int64         `json:"parent_proxy_auth_status"`
	ParentProxyAuthUser       string        `json:"parent_proxy_auth_user"`
	ParentProxyHost           string        `json:"parent_proxy_host"`
	ParentProxyPort           int64         `json:"parent_proxy_port"`
	ParentProxyStatus         int64         `json:"parent_proxy_status"`
	Postmaster                string        `json:"postmaster"`
	Profiles                  []interface{} `json:"profiles"`
	RecipientsMax             int64         `json:"recipients_max"`
	Relays                    []interface{} `json:"relays"`
	ScanOutgoingEmails        int64         `json:"scan_outgoing_emails"`
	ScannerPool               struct {
		MaxPool    int64   `json:"max_pool"`
		Thresholds []int64 `json:"thresholds"`
	} `json:"scanner_pool"`
	ScannerTimeout             int64         `json:"scanner_timeout"`
	SmarthostAuth              int64         `json:"smarthost_auth"`
	SmarthostHostname          string        `json:"smarthost_hostname"`
	SmarthostPass              string        `json:"smarthost_pass"`
	SmarthostPort              int64         `json:"smarthost_port"`
	SmarthostStatus            int64         `json:"smarthost_status"`
	SmarthostUser              string        `json:"smarthost_user"`
	SMTPAcceptMax              int64         `json:"smtp_accept_max"`
	SMTPAcceptPerConnectionMax int64         `json:"smtp_accept_per_connection_max"`
	SMTPAcceptPerHostMax       int64         `json:"smtp_accept_per_host_max"`
	Status                     int64         `json:"status"`
	TLSAvoid                   []interface{} `json:"tls_avoid"`
	TLSCert                    string        `json:"tls_cert"`
	TLSRequire                 []interface{} `json:"tls_require"`
	TLSRequireSenderDomains    []interface{} `json:"tls_require_sender_domains"`
	TLSVersion                 string        `json:"tls_version"`
	Transparent                int64         `json:"transparent"`
	TransparentSkip            []interface{} `json:"transparent_skip"`
	TransparentSkipAutoPf      int64         `json:"transparent_skip_auto_pf"`
	UpstreamHosts              []interface{} `json:"upstream_hosts"`
	UpstreamHostsOnly          int64         `json:"upstream_hosts_only"`
}

Smtp is a generated struct representing the Sophos Smtp Endpoint GET /api/nodes/smtp

func (Smtp) ApiRoutes

func (Smtp) ApiRoutes() []string

ApiRoutes returns all known Smtp Paths

func (Smtp) Definition

func (Smtp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Smtp

func (*Smtp) GetPath

func (*Smtp) GetPath() string

GetPath implements sophos.RestGetter

func (*Smtp) RefRequired

func (*Smtp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Smtp) References

func (Smtp) References() []string

References returns the Smtp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Smtp) RestObjects

func (Smtp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Smtp's Objects

type SmtpException

type SmtpException struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Status default value is false
	Status     bool          `json:"status"`
	Comment    string        `json:"comment"`
	Name       string        `json:"name"`
	Networks   []interface{} `json:"networks"`
	Recipients []interface{} `json:"recipients"`
	Senders    []interface{} `json:"senders"`
	Skiplist   []interface{} `json:"skiplist"`
}

SmtpException represents a UTM SMTP filter exception

func (*SmtpException) DeletePath

func (*SmtpException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpException DELETE path Creates or updates the complete object exception

func (*SmtpException) GetPath

func (s *SmtpException) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpExceptions GET path Returns all available exception types

func (*SmtpException) PatchPath

func (*SmtpException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpException PATCH path Changes to parts of the object exception types

func (*SmtpException) PostPath

func (*SmtpException) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpException POST path Create a new smtp/exception object

func (*SmtpException) PutPath

func (*SmtpException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpException PUT path Creates or updates the complete object exception

func (*SmtpException) RefRequired

func (s *SmtpException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpException) UsedByPath

func (*SmtpException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpExceptions added in v0.1.1

type SmtpExceptions []SmtpException

SmtpExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpExceptions) GetPath added in v0.1.1

func (*SmtpExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpExceptions GET path Returns all available smtp/exception objects

func (*SmtpExceptions) RefRequired added in v0.1.1

func (*SmtpExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SmtpGroup

type SmtpGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

SmtpGroup represents a UTM group

func (*SmtpGroup) DeletePath

func (*SmtpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpGroup DELETE path Creates or updates the complete object group

func (*SmtpGroup) GetPath

func (s *SmtpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpGroups GET path Returns all available group types

func (*SmtpGroup) PatchPath

func (*SmtpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpGroup PATCH path Changes to parts of the object group types

func (*SmtpGroup) PostPath

func (*SmtpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpGroup POST path Create a new smtp/group object

func (*SmtpGroup) PutPath

func (*SmtpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpGroup PUT path Creates or updates the complete object group

func (*SmtpGroup) RefRequired

func (s *SmtpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpGroup) UsedByPath

func (*SmtpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpGroups added in v0.1.1

type SmtpGroups []SmtpGroup

SmtpGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpGroups) GetPath added in v0.1.1

func (*SmtpGroups) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpGroups GET path Returns all available smtp/group objects

func (*SmtpGroups) RefRequired added in v0.1.1

func (*SmtpGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SmtpHeaderOperation

type SmtpHeaderOperation struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// Operation can be one of: []string{"add", "delete"}
	// Operation default value is "add"
	Operation string `json:"operation"`
	// Parameter default value is ""
	Parameter  string `json:"parameter"`
	Comment    string `json:"comment"`
	HeaderName string `json:"header_name"`
	Name       string `json:"name"`
}

SmtpHeaderOperation represents a UTM Header modification operation

func (*SmtpHeaderOperation) DeletePath

func (*SmtpHeaderOperation) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpHeaderOperation DELETE path Creates or updates the complete object header_operation

func (*SmtpHeaderOperation) GetPath

func (s *SmtpHeaderOperation) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpHeaderOperations GET path Returns all available header_operation types

func (*SmtpHeaderOperation) PatchPath

func (*SmtpHeaderOperation) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpHeaderOperation PATCH path Changes to parts of the object header_operation types

func (*SmtpHeaderOperation) PostPath

func (*SmtpHeaderOperation) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpHeaderOperation POST path Create a new smtp/header_operation object

func (*SmtpHeaderOperation) PutPath

func (*SmtpHeaderOperation) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpHeaderOperation PUT path Creates or updates the complete object header_operation

func (*SmtpHeaderOperation) RefRequired

func (s *SmtpHeaderOperation) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpHeaderOperation) UsedByPath

func (*SmtpHeaderOperation) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpHeaderOperations added in v0.1.1

type SmtpHeaderOperations []SmtpHeaderOperation

SmtpHeaderOperations is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpHeaderOperations) GetPath added in v0.1.1

func (*SmtpHeaderOperations) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpHeaderOperations GET path Returns all available smtp/header_operation objects

func (*SmtpHeaderOperations) RefRequired added in v0.1.1

func (*SmtpHeaderOperations) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SmtpProfile

type SmtpProfile struct {
	Locked                      string        `json:"_locked"`
	Reference                   string        `json:"_ref"`
	ObjectType                  string        `json:"_type"`
	AdBaseDn                    string        `json:"ad_base_dn"`
	Batv                        bool          `json:"batv"`
	CffAv                       string        `json:"cff_av"`
	CffAvEngines                string        `json:"cff_av_engines"`
	CffFileExtensions           []string      `json:"cff_file_extensions"`
	Comment                     string        `json:"comment"`
	ConfidentialFooter          string        `json:"confidential_footer"`
	ConfidentialFooterStatus    bool          `json:"confidential_footer_status"`
	DlpAction                   string        `json:"dlp_action"`
	DlpCclRules                 []interface{} `json:"dlp_ccl_rules"`
	DlpCustomExpressions        []interface{} `json:"dlp_custom_expressions"`
	DlpNotificationAdmin        bool          `json:"dlp_notification_admin"`
	DlpNotificationOther        bool          `json:"dlp_notification_other"`
	DlpNotificationOtherAddress string        `json:"dlp_notification_other_address"`
	DlpNotificationSender       bool          `json:"dlp_notification_sender"`
	DlpScanAttachments          bool          `json:"dlp_scan_attachments"`
	Domains                     []interface{} `json:"domains"`
	GlobalAdd                   []interface{} `json:"global_add"`
	GlobalCopy                  []interface{} `json:"global_copy"`
	Greylisting                 bool          `json:"greylisting"`
	HeaderModification          []interface{} `json:"header_modification"`
	MimeAudio                   bool          `json:"mime_audio"`
	MimeBlacklist               []interface{} `json:"mime_blacklist"`
	MimeExecutable              bool          `json:"mime_executable"`
	MimeVideo                   bool          `json:"mime_video"`
	MimeWhitelist               []interface{} `json:"mime_whitelist"`
	Name                        string        `json:"name"`
	Rbl                         bool          `json:"rbl"`
	RblExtra                    []interface{} `json:"rbl_extra"`
	RcptAdServer                string        `json:"rcpt_ad_server"`
	RcptVerify                  string        `json:"rcpt_verify"`
	RdnsReject                  bool          `json:"rdns_reject"`
	RdnsRejectStrict            bool          `json:"rdns_reject_strict"`
	RouteList                   []interface{} `json:"route_list"`
	RouteTarget                 string        `json:"route_target"`
	RouteTargetPort             int64         `json:"route_target_port"`
	RouteTargetType             string        `json:"route_target_type"`
	SandboxMaxFilesizeMb        int64         `json:"sandbox_max_filesize_mb"`
	SandboxScanStatus           bool          `json:"sandbox_scan_status"`
	SenderBlacklist             []interface{} `json:"sender_blacklist"`
	Spam                        string        `json:"spam"`
	SpamExpressions             []interface{} `json:"spam_expressions"`
	Spamplus                    string        `json:"spamplus"`
	Spf                         bool          `json:"spf"`
	SpxTemplate                 string        `json:"spx_template"`
	Status                      bool          `json:"status"`
	Unscannable                 string        `json:"unscannable"`
}

SmtpProfile is a generated Sophos object

func (*SmtpProfile) DeletePath

func (*SmtpProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpProfile DELETE path Creates or updates the complete object profile

func (*SmtpProfile) GetPath

func (s *SmtpProfile) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpProfiles GET path Returns all available profile types

func (*SmtpProfile) GetType

func (s *SmtpProfile) GetType() string

GetType implements sophos.Object

func (*SmtpProfile) PatchPath

func (*SmtpProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpProfile PATCH path Changes to parts of the object profile types

func (*SmtpProfile) PostPath

func (*SmtpProfile) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpProfile POST path Create a new smtp/profile object

func (*SmtpProfile) PutPath

func (*SmtpProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpProfile PUT path Creates or updates the complete object profile

func (*SmtpProfile) RefRequired

func (s *SmtpProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpProfile) UsedByPath

func (*SmtpProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpProfiles

type SmtpProfiles []SmtpProfile

SmtpProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpProfiles) GetPath

func (*SmtpProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpProfiles GET path Returns all available smtp/profile objects

func (*SmtpProfiles) RefRequired

func (*SmtpProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Snmp

type Snmp struct {
	AllowedNetworks []interface{} `json:"allowed_networks"`
	AuthPassword    string        `json:"auth_password"`
	AuthType        string        `json:"auth_type"`
	Community       string        `json:"community"`
	DeviceAdmin     string        `json:"device_admin"`
	DeviceLocation  string        `json:"device_location"`
	DeviceName      string        `json:"device_name"`
	EncryptPassword string        `json:"encrypt_password"`
	EncryptType     string        `json:"encrypt_type"`
	Status          int64         `json:"status"`
	Traps           []interface{} `json:"traps"`
	TrapsUseOldOids int64         `json:"traps_use_old_oids"`
	Username        string        `json:"username"`
	Version         string        `json:"version"`
}

Snmp is a generated struct representing the Sophos Snmp Endpoint GET /api/nodes/snmp

func (Snmp) ApiRoutes

func (Snmp) ApiRoutes() []string

ApiRoutes returns all known Snmp Paths

func (Snmp) Definition

func (Snmp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Snmp

func (*Snmp) GetPath

func (*Snmp) GetPath() string

GetPath implements sophos.RestGetter

func (*Snmp) RefRequired

func (*Snmp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Snmp) References

func (Snmp) References() []string

References returns the Snmp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Snmp) RestObjects

func (Snmp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Snmp's Objects

type SnmpGroup

type SnmpGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

SnmpGroup represents a UTM group

func (*SnmpGroup) DeletePath

func (*SnmpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SnmpGroup DELETE path Creates or updates the complete object group

func (*SnmpGroup) GetPath

func (s *SnmpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SnmpGroups GET path Returns all available group types

func (*SnmpGroup) PatchPath

func (*SnmpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SnmpGroup PATCH path Changes to parts of the object group types

func (*SnmpGroup) PostPath

func (*SnmpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SnmpGroup POST path Create a new snmp/group object

func (*SnmpGroup) PutPath

func (*SnmpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SnmpGroup PUT path Creates or updates the complete object group

func (*SnmpGroup) RefRequired

func (s *SnmpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SnmpGroup) UsedByPath

func (*SnmpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SnmpGroups added in v0.1.1

type SnmpGroups []SnmpGroup

SnmpGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*SnmpGroups) GetPath added in v0.1.1

func (*SnmpGroups) GetPath() string

GetPath implements sophos.RestObject and returns the SnmpGroups GET path Returns all available snmp/group objects

func (*SnmpGroups) RefRequired added in v0.1.1

func (*SnmpGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SnmpTrap

type SnmpTrap struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// EncryptType can be one of: []string{"None", "DES", "AES"}
	// EncryptType default value is "None"
	EncryptType string `json:"encrypt_type"`
	// Host description: REF(network/host), REF(network/dns_host), REF(network/availability_group)
	Host string `json:"host"`
	// Username description: (SNMPSTRING)
	// Username default value is ""
	Username string `json:"username"`
	// Version can be one of: []string{"v2c", "v3"}
	// Version default value is "v2c"
	Version string `json:"version"`
	// AuthPassword description: (SNMPSTRING)
	// AuthPassword default value is ""
	AuthPassword string `json:"auth_password"`
	// AuthType can be one of: []string{"MD5", "SHA"}
	// AuthType default value is "MD5"
	AuthType string `json:"auth_type"`
	// Community description: (SNMPSTRING)
	// Community default value is "public"
	Community string `json:"community"`
	// EncryptPassword description: (SNMPSTRING)
	// EncryptPassword default value is ""
	EncryptPassword string `json:"encrypt_password"`
	// Engineid default value is ""
	Engineid string `json:"engineid"`
	Name     string `json:"name"`
	// Status default value is true
	Status bool `json:"status"`
}

SnmpTrap represents a UTM SNMP trap

func (*SnmpTrap) DeletePath

func (*SnmpTrap) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SnmpTrap DELETE path Creates or updates the complete object trap

func (*SnmpTrap) GetPath

func (s *SnmpTrap) GetPath() string

GetPath implements sophos.RestObject and returns the SnmpTraps GET path Returns all available trap types

func (*SnmpTrap) PatchPath

func (*SnmpTrap) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SnmpTrap PATCH path Changes to parts of the object trap types

func (*SnmpTrap) PostPath

func (*SnmpTrap) PostPath() string

PostPath implements sophos.RestObject and returns the SnmpTrap POST path Create a new snmp/trap object

func (*SnmpTrap) PutPath

func (*SnmpTrap) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SnmpTrap PUT path Creates or updates the complete object trap

func (*SnmpTrap) RefRequired

func (s *SnmpTrap) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SnmpTrap) UsedByPath

func (*SnmpTrap) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SnmpTraps added in v0.1.1

type SnmpTraps []SnmpTrap

SnmpTraps is an Sophos Endpoint subType and implements sophos.RestObject

func (*SnmpTraps) GetPath added in v0.1.1

func (*SnmpTraps) GetPath() string

GetPath implements sophos.RestObject and returns the SnmpTraps GET path Returns all available snmp/trap objects

func (*SnmpTraps) RefRequired added in v0.1.1

func (*SnmpTraps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Spx

type Spx struct {
	Global struct {
		ErrorNotificationTarget string `json:"error_notification_target"`
		ExpirySettings          struct {
			AllowSecureReplyDays     int64 `json:"allow_secure_reply_days"`
			KeepDelayedMailDays      int64 `json:"keep_delayed_mail_days"`
			KeepUnusedPwdDays        int64 `json:"keep_unused_pwd_days"`
			RegistrationReminderDays int64 `json:"registration_reminder_days"`
		} `json:"expiry_settings"`
		PasswordStrength struct {
			MinLength        int64 `json:"min_length"`
			RequireSpecChars int64 `json:"require_spec_chars"`
		} `json:"password_strength"`
		PortalSettings struct {
			AllowedNetworks  []interface{} `json:"allowed_networks"`
			Hostname         string        `json:"hostname"`
			InterfaceAddress string        `json:"interface_address"`
			Port             int64         `json:"port"`
		} `json:"portal_settings"`
		PoweredByLogo string `json:"powered_by_logo"`
		SpxPriority   int64  `json:"spx_priority"`
		Status        int64  `json:"status"`
	} `json:"global"`
	SpxAuth struct {
		Password string `json:"password"`
		Port     int64  `json:"port"`
		Server   string `json:"server"`
		URL      string `json:"url"`
	} `json:"spx_auth"`
	Templates []string `json:"templates"`
}

Spx is a generated struct representing the Sophos Spx Endpoint GET /api/nodes/spx

func (Spx) ApiRoutes

func (Spx) ApiRoutes() []string

ApiRoutes returns all known Spx Paths

func (Spx) Definition

func (Spx) Definition() sophos.Definition

Definition returns the /api/definitions struct of Spx

func (*Spx) GetPath

func (*Spx) GetPath() string

GetPath implements sophos.RestGetter

func (*Spx) RefRequired

func (*Spx) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Spx) References

func (Spx) References() []string

References returns the Spx's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Spx) RestObjects

func (Spx) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Spx's Objects

type SpxGroup

type SpxGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

SpxGroup represents a UTM group

func (*SpxGroup) DeletePath

func (*SpxGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SpxGroup DELETE path Creates or updates the complete object group

func (*SpxGroup) GetPath

func (s *SpxGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SpxGroups GET path Returns all available group types

func (*SpxGroup) PatchPath

func (*SpxGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SpxGroup PATCH path Changes to parts of the object group types

func (*SpxGroup) PostPath

func (*SpxGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SpxGroup POST path Create a new spx/group object

func (*SpxGroup) PutPath

func (*SpxGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SpxGroup PUT path Creates or updates the complete object group

func (*SpxGroup) RefRequired

func (s *SpxGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SpxGroup) UsedByPath

func (*SpxGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SpxGroups added in v0.1.1

type SpxGroups []SpxGroup

SpxGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*SpxGroups) GetPath added in v0.1.1

func (*SpxGroups) GetPath() string

GetPath implements sophos.RestObject and returns the SpxGroups GET path Returns all available spx/group objects

func (*SpxGroups) RefRequired added in v0.1.1

func (*SpxGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SpxTemplate

type SpxTemplate struct {
	Locked                         string `json:"_locked"`
	Reference                      string `json:"_ref"`
	ObjectType                     string `json:"_type"`
	Comment                        string `json:"comment"`
	Name                           string `json:"name"`
	OrgName                        string `json:"org_name"`
	PdfCoverPage                   string `json:"pdf_cover_page"`
	PdfCoverPageExt                string `json:"pdf_cover_page_ext"`
	PdfCoverPageFile               string `json:"pdf_cover_page_file"`
	PdfEncryption                  string `json:"pdf_encryption"`
	PdfLanguage                    string `json:"pdf_language"`
	PdfPageSize                    string `json:"pdf_page_size"`
	PortalAuthRequired             bool   `json:"portal_auth_required"`
	PortalFooterImage              string `json:"portal_footer_image"`
	PortalFooterImageExt           string `json:"portal_footer_image_ext"`
	PortalFooterImageFile          string `json:"portal_footer_image_file"`
	PortalHeaderImage              string `json:"portal_header_image"`
	PortalHeaderImageExt           string `json:"portal_header_image_ext"`
	PortalHeaderImageFile          string `json:"portal_header_image_file"`
	PortalIncludeOriginalBody      bool   `json:"portal_include_original_body"`
	PortalReplyAllButton           bool   `json:"portal_reply_all_button"`
	PortalSecureReplyEnabled       bool   `json:"portal_secure_reply_enabled"`
	PwdChallengeQuestionNumber     string `json:"pwd_challenge_question_number"`
	PwdFunctionChange              bool   `json:"pwd_function_change"`
	PwdFunctionRecover             bool   `json:"pwd_function_recover"`
	PwdFunctionReset               bool   `json:"pwd_function_reset"`
	PwdNotificationBody            string `json:"pwd_notification_body"`
	PwdNotificationFooterImage     string `json:"pwd_notification_footer_image"`
	PwdNotificationFooterImageExt  string `json:"pwd_notification_footer_image_ext"`
	PwdNotificationFooterImageFile string `json:"pwd_notification_footer_image_file"`
	PwdNotificationHeaderImage     string `json:"pwd_notification_header_image"`
	PwdNotificationHeaderImageExt  string `json:"pwd_notification_header_image_ext"`
	PwdNotificationHeaderImageFile string `json:"pwd_notification_header_image_file"`
	PwdNotificationSubject         string `json:"pwd_notification_subject"`
	PwdRcptNotificationBody        string `json:"pwd_rcpt_notification_body"`
	PwdRcptNotificationSubject     string `json:"pwd_rcpt_notification_subject"`
	PwdType                        string `json:"pwd_type"`
	RcptFooterImage                string `json:"rcpt_footer_image"`
	RcptFooterImageExt             string `json:"rcpt_footer_image_ext"`
	RcptFooterImageFile            string `json:"rcpt_footer_image_file"`
	RcptHeaderImage                string `json:"rcpt_header_image"`
	RcptHeaderImageExt             string `json:"rcpt_header_image_ext"`
	RcptHeaderImageFile            string `json:"rcpt_header_image_file"`
	RcptInstructions               string `json:"rcpt_instructions"`
}

SpxTemplate is a generated Sophos object

func (*SpxTemplate) DeletePath

func (*SpxTemplate) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SpxTemplate DELETE path Creates or updates the complete object template

func (*SpxTemplate) GetPath

func (s *SpxTemplate) GetPath() string

GetPath implements sophos.RestObject and returns the SpxTemplates GET path Returns all available template types

func (*SpxTemplate) GetType

func (s *SpxTemplate) GetType() string

GetType implements sophos.Object

func (*SpxTemplate) PatchPath

func (*SpxTemplate) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SpxTemplate PATCH path Changes to parts of the object template types

func (*SpxTemplate) PostPath

func (*SpxTemplate) PostPath() string

PostPath implements sophos.RestObject and returns the SpxTemplate POST path Create a new spx/template object

func (*SpxTemplate) PutPath

func (*SpxTemplate) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SpxTemplate PUT path Creates or updates the complete object template

func (*SpxTemplate) RefRequired

func (s *SpxTemplate) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SpxTemplate) UsedByPath

func (*SpxTemplate) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SpxTemplates

type SpxTemplates []SpxTemplate

SpxTemplates is an Sophos Endpoint subType and implements sophos.RestObject

func (*SpxTemplates) GetPath

func (*SpxTemplates) GetPath() string

GetPath implements sophos.RestObject and returns the SpxTemplates GET path Returns all available spx/template objects

func (*SpxTemplates) RefRequired

func (*SpxTemplates) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpn

type SslVpn struct {
	AuthenticationAlgorithm string `json:"authentication_algorithm"`
	Certificate             string `json:"certificate"`
	Compression             int64  `json:"compression"`
	DatachannelKeyLifetime  int64  `json:"datachannel_key_lifetime"`
	Debug                   int64  `json:"debug"`
	DhKeySize               string `json:"dh_key_size"`
	DuplicateCn             int64  `json:"duplicate_cn"`
	EncryptionAlgorithm     string `json:"encryption_algorithm"`
	Hostname                string `json:"hostname"`
	Interface               string `json:"interface"`
	InterfaceAddress        string `json:"interface_address"`
	IPAssignmentPool        string `json:"ip_assignment_pool"`
	Port                    int64  `json:"port"`
	Protocol                string `json:"protocol"`
	UserAuthOptional        int64  `json:"user_auth_optional"`
}

SslVpn is a generated struct representing the Sophos SslVpn Endpoint GET /api/nodes/ssl_vpn

func (SslVpn) ApiRoutes

func (SslVpn) ApiRoutes() []string

ApiRoutes returns all known SslVpn Paths

func (SslVpn) Definition

func (SslVpn) Definition() sophos.Definition

Definition returns the /api/definitions struct of SslVpn

func (*SslVpn) GetPath

func (*SslVpn) GetPath() string

GetPath implements sophos.RestGetter

func (*SslVpn) RefRequired

func (*SslVpn) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (SslVpn) References

func (SslVpn) References() []string

References returns the SslVpn's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (SslVpn) RestObjects

func (SslVpn) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of SslVpn's Objects

type SslVpnClientConnection

type SslVpnClientConnection struct {
	Locked                  string   `json:"_locked"`
	Reference               string   `json:"_ref"`
	ObjectType              string   `json:"_type"`
	AuthenticationAlgorithm string   `json:"authentication_algorithm"`
	AutoPfIn                string   `json:"auto_pf_in"`
	AutoPfOut               string   `json:"auto_pf_out"`
	AutoPfrule              bool     `json:"auto_pfrule"`
	CaCert                  string   `json:"ca_cert"`
	Certificate             string   `json:"certificate"`
	Comment                 string   `json:"comment"`
	Compression             bool     `json:"compression"`
	EncryptionAlgorithm     string   `json:"encryption_algorithm"`
	Engine                  string   `json:"engine"`
	Interface               string   `json:"interface"`
	Key                     string   `json:"key"`
	LocalNetworks           []string `json:"local_networks"`
	Name                    string   `json:"name"`
	Password                string   `json:"password"`
	PlainServerAddress      string   `json:"plain_server_address"`
	Protocol                string   `json:"protocol"`
	ProxyAuthPass           string   `json:"proxy_auth_pass"`
	ProxyAuthStatus         bool     `json:"proxy_auth_status"`
	ProxyAuthUser           string   `json:"proxy_auth_user"`
	ProxyHost               string   `json:"proxy_host"`
	ProxyPort               int64    `json:"proxy_port"`
	ProxyStatus             bool     `json:"proxy_status"`
	RemoteNetworks          []string `json:"remote_networks"`
	ServerAddress           string   `json:"server_address"`
	ServerDn                string   `json:"server_dn"`
	ServerOverrideHostname  string   `json:"server_override_hostname"`
	ServerOverrideStatus    bool     `json:"server_override_status"`
	ServerPort              int64    `json:"server_port"`
	Status                  bool     `json:"status"`
	Username                string   `json:"username"`
}

SslVpnClientConnection is a generated Sophos object

func (*SslVpnClientConnection) DeletePath

func (*SslVpnClientConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnClientConnection DELETE path Creates or updates the complete object client_connection

func (*SslVpnClientConnection) GetPath

func (s *SslVpnClientConnection) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnClientConnections GET path Returns all available client_connection types

func (*SslVpnClientConnection) GetType

func (s *SslVpnClientConnection) GetType() string

GetType implements sophos.Object

func (*SslVpnClientConnection) PatchPath

func (*SslVpnClientConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnClientConnection PATCH path Changes to parts of the object client_connection types

func (*SslVpnClientConnection) PostPath

func (*SslVpnClientConnection) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnClientConnection POST path Create a new ssl_vpn/client_connection object

func (*SslVpnClientConnection) PutPath

func (*SslVpnClientConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnClientConnection PUT path Creates or updates the complete object client_connection

func (*SslVpnClientConnection) RefRequired

func (s *SslVpnClientConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnClientConnection) UsedByPath

func (*SslVpnClientConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnClientConnections

type SslVpnClientConnections []SslVpnClientConnection

SslVpnClientConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnClientConnections) GetPath

func (*SslVpnClientConnections) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnClientConnections GET path Returns all available ssl_vpn/client_connection objects

func (*SslVpnClientConnections) RefRequired

func (*SslVpnClientConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpnGroup

type SslVpnGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

SslVpnGroup represents a UTM group

func (*SslVpnGroup) DeletePath

func (*SslVpnGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnGroup DELETE path Creates or updates the complete object group

func (*SslVpnGroup) GetPath

func (s *SslVpnGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnGroups GET path Returns all available group types

func (*SslVpnGroup) PatchPath

func (*SslVpnGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnGroup PATCH path Changes to parts of the object group types

func (*SslVpnGroup) PostPath

func (*SslVpnGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnGroup POST path Create a new ssl_vpn/group object

func (*SslVpnGroup) PutPath

func (*SslVpnGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnGroup PUT path Creates or updates the complete object group

func (*SslVpnGroup) RefRequired

func (s *SslVpnGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnGroup) UsedByPath

func (*SslVpnGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnGroups added in v0.1.1

type SslVpnGroups []SslVpnGroup

SslVpnGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnGroups) GetPath added in v0.1.1

func (*SslVpnGroups) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnGroups GET path Returns all available ssl_vpn/group objects

func (*SslVpnGroups) RefRequired added in v0.1.1

func (*SslVpnGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpnRemoteAccessProfile

type SslVpnRemoteAccessProfile struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Aaa        []string `json:"aaa"`
	AutoPfIn   string   `json:"auto_pf_in"`
	AutoPfrule bool     `json:"auto_pfrule"`
	Comment    string   `json:"comment"`
	Name       string   `json:"name"`
	Networks   []string `json:"networks"`
	Status     bool     `json:"status"`
}

SslVpnRemoteAccessProfile is a generated Sophos object

func (*SslVpnRemoteAccessProfile) DeletePath

func (*SslVpnRemoteAccessProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile DELETE path Creates or updates the complete object remote_access_profile

func (*SslVpnRemoteAccessProfile) GetPath

func (s *SslVpnRemoteAccessProfile) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfiles GET path Returns all available remote_access_profile types

func (*SslVpnRemoteAccessProfile) GetType

func (s *SslVpnRemoteAccessProfile) GetType() string

GetType implements sophos.Object

func (*SslVpnRemoteAccessProfile) PatchPath

func (*SslVpnRemoteAccessProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile PATCH path Changes to parts of the object remote_access_profile types

func (*SslVpnRemoteAccessProfile) PostPath

func (*SslVpnRemoteAccessProfile) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile POST path Create a new ssl_vpn/remote_access_profile object

func (*SslVpnRemoteAccessProfile) PutPath

func (*SslVpnRemoteAccessProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile PUT path Creates or updates the complete object remote_access_profile

func (*SslVpnRemoteAccessProfile) RefRequired

func (s *SslVpnRemoteAccessProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnRemoteAccessProfile) UsedByPath

func (*SslVpnRemoteAccessProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnRemoteAccessProfiles

type SslVpnRemoteAccessProfiles []SslVpnRemoteAccessProfile

SslVpnRemoteAccessProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnRemoteAccessProfiles) GetPath

GetPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfiles GET path Returns all available ssl_vpn/remote_access_profile objects

func (*SslVpnRemoteAccessProfiles) RefRequired

func (*SslVpnRemoteAccessProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpnServerConnection

type SslVpnServerConnection struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	// AutoPfIn description: REF(packetfilter/packetfilter)
	// AutoPfIn default value is ""
	AutoPfIn string `json:"auto_pf_in"`
	// AutoPfOut description: REF(packetfilter/packetfilter)
	// AutoPfOut default value is ""
	AutoPfOut     string        `json:"auto_pf_out"`
	LocalNetworks []interface{} `json:"local_networks"`
	// StaticIp description: (IPADDR)
	// StaticIp default value is "0.0.0.0"
	StaticIp string `json:"static_ip"`
	// StaticIpStatus default value is false
	StaticIpStatus bool `json:"static_ip_status"`
	// Status default value is false
	Status bool `json:"status"`
	// AutoPfrule default value is false
	AutoPfrule bool   `json:"auto_pfrule"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
	// Peer description: REF(aaa/user)
	// Peer default value is ""
	Peer           string        `json:"peer"`
	RemoteNetworks []interface{} `json:"remote_networks"`
	// StaticIp6 description: (IP6ADDR)
	// StaticIp6 default value is "::"
	StaticIp6 string `json:"static_ip6"`
}

SslVpnServerConnection represents a UTM SSL VPN site-to-site server connection

func (*SslVpnServerConnection) DeletePath

func (*SslVpnServerConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnServerConnection DELETE path Creates or updates the complete object server_connection

func (*SslVpnServerConnection) GetPath

func (s *SslVpnServerConnection) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnServerConnections GET path Returns all available server_connection types

func (*SslVpnServerConnection) PatchPath

func (*SslVpnServerConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnServerConnection PATCH path Changes to parts of the object server_connection types

func (*SslVpnServerConnection) PostPath

func (*SslVpnServerConnection) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnServerConnection POST path Create a new ssl_vpn/server_connection object

func (*SslVpnServerConnection) PutPath

func (*SslVpnServerConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnServerConnection PUT path Creates or updates the complete object server_connection

func (*SslVpnServerConnection) RefRequired

func (s *SslVpnServerConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnServerConnection) UsedByPath

func (*SslVpnServerConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnServerConnections added in v0.1.1

type SslVpnServerConnections []SslVpnServerConnection

SslVpnServerConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnServerConnections) GetPath added in v0.1.1

func (*SslVpnServerConnections) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnServerConnections GET path Returns all available ssl_vpn/server_connection objects

func (*SslVpnServerConnections) RefRequired added in v0.1.1

func (*SslVpnServerConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Stas

type Stas struct {
	StasCollector StasCollector `json:"stas_collector"`
	StasGroup     StasGroup     `json:"stas_group"`
}

Stas is a generated struct representing the Sophos Stas Endpoint GET /api/nodes/stas

func (Stas) ApiRoutes

func (Stas) ApiRoutes() []string

ApiRoutes returns all known Stas Paths

func (Stas) Definition

func (Stas) Definition() sophos.Definition

Definition returns the /api/definitions struct of Stas

func (*Stas) GetPath

func (*Stas) GetPath() string

GetPath implements sophos.RestGetter

func (*Stas) RefRequired

func (*Stas) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Stas) References

func (Stas) References() []string

References returns the Stas's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Stas) RestObjects

func (Stas) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Stas's Objects

type StasCollector

type StasCollector struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Name       string `json:"name"`
	// Port description: REF(service/udp)
	// Port default value is "REF_ServiceSTASCollector"
	Port    string `json:"port"`
	Comment string `json:"comment"`
	// Host description: REF(network/host), REF(network/dns_host)
	Host string `json:"host"`
}

StasCollector represents a UTM STAS Collector

func (*StasCollector) DeletePath

func (*StasCollector) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the StasCollector DELETE path Creates or updates the complete object collector

func (*StasCollector) GetPath

func (s *StasCollector) GetPath() string

GetPath implements sophos.RestObject and returns the StasCollectors GET path Returns all available collector types

func (*StasCollector) PatchPath

func (*StasCollector) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the StasCollector PATCH path Changes to parts of the object collector types

func (*StasCollector) PostPath

func (*StasCollector) PostPath() string

PostPath implements sophos.RestObject and returns the StasCollector POST path Create a new stas/collector object

func (*StasCollector) PutPath

func (*StasCollector) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the StasCollector PUT path Creates or updates the complete object collector

func (*StasCollector) RefRequired

func (s *StasCollector) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*StasCollector) UsedByPath

func (*StasCollector) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type StasCollectors added in v0.1.1

type StasCollectors []StasCollector

StasCollectors is an Sophos Endpoint subType and implements sophos.RestObject

func (*StasCollectors) GetPath added in v0.1.1

func (*StasCollectors) GetPath() string

GetPath implements sophos.RestObject and returns the StasCollectors GET path Returns all available stas/collector objects

func (*StasCollectors) RefRequired added in v0.1.1

func (*StasCollectors) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type StasGroup

type StasGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

StasGroup represents a UTM stas->group

func (*StasGroup) DeletePath

func (*StasGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the StasGroup DELETE path Creates or updates the complete object group

func (*StasGroup) GetPath

func (s *StasGroup) GetPath() string

GetPath implements sophos.RestObject and returns the StasGroups GET path Returns all available group types

func (*StasGroup) PatchPath

func (*StasGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the StasGroup PATCH path Changes to parts of the object group types

func (*StasGroup) PostPath

func (*StasGroup) PostPath() string

PostPath implements sophos.RestObject and returns the StasGroup POST path Create a new stas/group object

func (*StasGroup) PutPath

func (*StasGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the StasGroup PUT path Creates or updates the complete object group

func (*StasGroup) RefRequired

func (s *StasGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*StasGroup) UsedByPath

func (*StasGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type StasGroups added in v0.1.1

type StasGroups []StasGroup

StasGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*StasGroups) GetPath added in v0.1.1

func (*StasGroups) GetPath() string

GetPath implements sophos.RestObject and returns the StasGroups GET path Returns all available stas/group objects

func (*StasGroups) RefRequired added in v0.1.1

func (*StasGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Status

type Status struct {
	StatusVersion StatusVersion `json:"Status_status"`
}

Status is a generated struct representing the Sophos Status Endpoint GET /api/nodes/status

func (Status) ApiRoutes

func (Status) ApiRoutes() []string

ApiRoutes returns all known Status Paths

func (Status) Definition

func (Status) Definition() sophos.Definition

Definition returns the /api/definitions struct of Status

func (*Status) GetPath

func (*Status) GetPath() string

GetPath implements sophos.RestGetter

func (*Status) RefRequired

func (*Status) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Status) References

func (Status) References() []string

References returns the Status's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Status) RestObjects

func (Status) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Status's Objects

type StatusVersion

type StatusVersion struct {
	Restd string `json:"restd"`
	Utm   string `json:"utm"`
}

StatusVersion is an Sophos Endpoint subType and implements sophos.RestObject

func (*StatusVersion) DeletePath

func (*StatusVersion) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the StatusVersion DELETE path

func (*StatusVersion) GetPath

func (*StatusVersion) GetPath() string

GetPath implements sophos.RestObject and returns the StatusVersion GET path Returns some version numbers of the UTM software

func (*StatusVersion) PatchPath

func (*StatusVersion) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the StatusVersion PATCH path

func (*StatusVersion) PostPath

func (*StatusVersion) PostPath() string

PostPath implements sophos.RestObject and returns the StatusVersion POST path

func (*StatusVersion) PutPath

func (*StatusVersion) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the StatusVersion PUT path

func (*StatusVersion) RefRequired

func (*StatusVersion) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*StatusVersion) UsedByPath

func (*StatusVersion) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject

type Time

type Time struct {
	TimeGroup     TimeGroup     `json:"time_group"`
	TimeRecurring TimeRecurring `json:"time_recurring"`
	TimeSingle    TimeSingle    `json:"time_single"`
}

Time is a generated struct representing the Sophos Time Endpoint GET /api/nodes/time

func (Time) ApiRoutes

func (Time) ApiRoutes() []string

ApiRoutes returns all known Time Paths

func (Time) Definition

func (Time) Definition() sophos.Definition

Definition returns the /api/definitions struct of Time

func (*Time) GetPath

func (*Time) GetPath() string

GetPath implements sophos.RestGetter

func (*Time) RefRequired

func (*Time) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Time) References

func (Time) References() []string

References returns the Time's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Time) RestObjects

func (Time) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Time's Objects

type TimeGroup

type TimeGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

TimeGroup represents a UTM group

func (*TimeGroup) DeletePath

func (*TimeGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the TimeGroup DELETE path Creates or updates the complete object group

func (*TimeGroup) GetPath

func (t *TimeGroup) GetPath() string

GetPath implements sophos.RestObject and returns the TimeGroups GET path Returns all available group types

func (*TimeGroup) PatchPath

func (*TimeGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the TimeGroup PATCH path Changes to parts of the object group types

func (*TimeGroup) PostPath

func (*TimeGroup) PostPath() string

PostPath implements sophos.RestObject and returns the TimeGroup POST path Create a new time/group object

func (*TimeGroup) PutPath

func (*TimeGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the TimeGroup PUT path Creates or updates the complete object group

func (*TimeGroup) RefRequired

func (t *TimeGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*TimeGroup) UsedByPath

func (*TimeGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type TimeGroups added in v0.1.1

type TimeGroups []TimeGroup

TimeGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*TimeGroups) GetPath added in v0.1.1

func (*TimeGroups) GetPath() string

GetPath implements sophos.RestObject and returns the TimeGroups GET path Returns all available time/group objects

func (*TimeGroups) RefRequired added in v0.1.1

func (*TimeGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type TimeRecurring

type TimeRecurring struct {
	Locked     string   `json:"_locked"`
	Reference  string   `json:"_ref"`
	ObjectType string   `json:"_type"`
	Comment    string   `json:"comment"`
	EndTime    string   `json:"end_time"`
	Name       string   `json:"name"`
	StartTime  string   `json:"start_time"`
	Weekdays   []string `json:"weekdays"`
}

TimeRecurring is a generated Sophos object

func (*TimeRecurring) DeletePath

func (*TimeRecurring) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the TimeRecurring DELETE path Creates or updates the complete object recurring

func (*TimeRecurring) GetPath

func (t *TimeRecurring) GetPath() string

GetPath implements sophos.RestObject and returns the TimeRecurrings GET path Returns all available recurring types

func (*TimeRecurring) GetType

func (t *TimeRecurring) GetType() string

GetType implements sophos.Object

func (*TimeRecurring) PatchPath

func (*TimeRecurring) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the TimeRecurring PATCH path Changes to parts of the object recurring types

func (*TimeRecurring) PostPath

func (*TimeRecurring) PostPath() string

PostPath implements sophos.RestObject and returns the TimeRecurring POST path Create a new time/recurring object

func (*TimeRecurring) PutPath

func (*TimeRecurring) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the TimeRecurring PUT path Creates or updates the complete object recurring

func (*TimeRecurring) RefRequired

func (t *TimeRecurring) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*TimeRecurring) UsedByPath

func (*TimeRecurring) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type TimeRecurrings

type TimeRecurrings []TimeRecurring

TimeRecurrings is an Sophos Endpoint subType and implements sophos.RestObject

func (*TimeRecurrings) GetPath

func (*TimeRecurrings) GetPath() string

GetPath implements sophos.RestObject and returns the TimeRecurrings GET path Returns all available time/recurring objects

func (*TimeRecurrings) RefRequired

func (*TimeRecurrings) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type TimeSingle

type TimeSingle struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	// EndDate description: (DATE)
	EndDate string `json:"end_date"`
	// EndTime description: (TIME)
	EndTime string `json:"end_time"`
	Name    string `json:"name"`
	// StartDate description: (DATE)
	StartDate string `json:"start_date"`
	// StartTime description: (TIME)
	StartTime string `json:"start_time"`
}

TimeSingle represents a UTM single time period

func (*TimeSingle) DeletePath

func (*TimeSingle) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the TimeSingle DELETE path Creates or updates the complete object single

func (*TimeSingle) GetPath

func (t *TimeSingle) GetPath() string

GetPath implements sophos.RestObject and returns the TimeSingles GET path Returns all available single types

func (*TimeSingle) PatchPath

func (*TimeSingle) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the TimeSingle PATCH path Changes to parts of the object single types

func (*TimeSingle) PostPath

func (*TimeSingle) PostPath() string

PostPath implements sophos.RestObject and returns the TimeSingle POST path Create a new time/single object

func (*TimeSingle) PutPath

func (*TimeSingle) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the TimeSingle PUT path Creates or updates the complete object single

func (*TimeSingle) RefRequired

func (t *TimeSingle) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*TimeSingle) UsedByPath

func (*TimeSingle) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type TimeSingles added in v0.1.1

type TimeSingles []TimeSingle

TimeSingles is an Sophos Endpoint subType and implements sophos.RestObject

func (*TimeSingles) GetPath added in v0.1.1

func (*TimeSingles) GetPath() string

GetPath implements sophos.RestObject and returns the TimeSingles GET path Returns all available time/single objects

func (*TimeSingles) RefRequired added in v0.1.1

func (*TimeSingles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type UserPreferences

type UserPreferences struct {
	UserPreferencesGroup    UserPreferencesGroup    `json:"user_preferences_group"`
	UserPreferencesWebadmin UserPreferencesWebadmin `json:"user_preferences_webadmin"`
}

UserPreferences is a generated struct representing the Sophos UserPreferences Endpoint GET /api/nodes/user_preferences

func (UserPreferences) ApiRoutes

func (UserPreferences) ApiRoutes() []string

ApiRoutes returns all known UserPreferences Paths

func (UserPreferences) Definition

func (UserPreferences) Definition() sophos.Definition

Definition returns the /api/definitions struct of UserPreferences

func (*UserPreferences) GetPath

func (*UserPreferences) GetPath() string

GetPath implements sophos.RestGetter

func (*UserPreferences) RefRequired

func (*UserPreferences) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (UserPreferences) References

func (UserPreferences) References() []string

References returns the UserPreferences's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (UserPreferences) RestObjects

func (UserPreferences) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of UserPreferences's Objects

type UserPreferencesGroup

type UserPreferencesGroup struct {
	Locked     string `json:"_locked"`
	ObjectType string `json:"_type"`
	Reference  string `json:"_ref"`
	Comment    string `json:"comment"`
	Name       string `json:"name"`
}

UserPreferencesGroup represents a UTM group

func (*UserPreferencesGroup) DeletePath

func (*UserPreferencesGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the UserPreferencesGroup DELETE path Creates or updates the complete object group

func (*UserPreferencesGroup) GetPath

func (u *UserPreferencesGroup) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesGroups GET path Returns all available group types

func (*UserPreferencesGroup) PatchPath

func (*UserPreferencesGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the UserPreferencesGroup PATCH path Changes to parts of the object group types

func (*UserPreferencesGroup) PostPath

func (*UserPreferencesGroup) PostPath() string

PostPath implements sophos.RestObject and returns the UserPreferencesGroup POST path Create a new user_preferences/group object

func (*UserPreferencesGroup) PutPath

func (*UserPreferencesGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the UserPreferencesGroup PUT path Creates or updates the complete object group

func (*UserPreferencesGroup) RefRequired

func (u *UserPreferencesGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*UserPreferencesGroup) UsedByPath

func (*UserPreferencesGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type UserPreferencesGroups added in v0.1.1

type UserPreferencesGroups []UserPreferencesGroup

UserPreferencesGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*UserPreferencesGroups) GetPath added in v0.1.1

func (*UserPreferencesGroups) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesGroups GET path Returns all available user_preferences/group objects

func (*UserPreferencesGroups) RefRequired added in v0.1.1

func (*UserPreferencesGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type UserPreferencesWebadmin

type UserPreferencesWebadmin struct {
	Locked               string   `json:"_locked"`
	Reference            string   `json:"_ref"`
	ObjectType           string   `json:"_type"`
	BrowserTitle         string   `json:"browser_title"`
	Comment              string   `json:"comment"`
	DashboardAutogroup   bool     `json:"dashboard_autogroup"`
	DashboardLeftcolumn  []string `json:"dashboard_leftcolumn"`
	DashboardRightcolumn []string `json:"dashboard_rightcolumn"`
	ItemsPerPage         string   `json:"items_per_page"`
	Language             string   `json:"language"`
	MarketingWindow      bool     `json:"marketing_window"`
	Name                 string   `json:"name"`
	Shortcuts            struct {
		Aaa       []string `json:"aaa"`
		Epp       []string `json:"epp"`
		Interface []string `json:"interface"`
		Network   []string `json:"network"`
		Searchbox []string `json:"searchbox"`
		Service   []string `json:"service"`
	} `json:"shortcuts"`
	SkipTermsOfUse bool `json:"skip_terms_of_use"`
}

UserPreferencesWebadmin is a generated Sophos object

func (*UserPreferencesWebadmin) DeletePath

func (*UserPreferencesWebadmin) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the UserPreferencesWebadmin DELETE path Creates or updates the complete object webadmin

func (*UserPreferencesWebadmin) GetPath

func (u *UserPreferencesWebadmin) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesWebadmins GET path Returns all available webadmin types

func (*UserPreferencesWebadmin) GetType

func (u *UserPreferencesWebadmin) GetType() string

GetType implements sophos.Object

func (*UserPreferencesWebadmin) PatchPath

func (*UserPreferencesWebadmin) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the UserPreferencesWebadmin PATCH path Changes to parts of the object webadmin types

func (*UserPreferencesWebadmin) PostPath

func (*UserPreferencesWebadmin) PostPath() string

PostPath implements sophos.RestObject and returns the UserPreferencesWebadmin POST path Create a new user_preferences/webadmin object

func (*UserPreferencesWebadmin) PutPath

func (*UserPreferencesWebadmin) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the UserPreferencesWebadmin PUT path Creates or updates the complete object webadmin

func (*UserPreferencesWebadmin) RefRequired

func (u *UserPreferencesWebadmin) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*UserPreferencesWebadmin) UsedByPath

func (*UserPreferencesWebadmin) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type UserPreferencesWebadmins

type UserPreferencesWebadmins []UserPreferencesWebadmin

UserPreferencesWebadmins is an Sophos Endpoint subType and implements sophos.RestObject

func (*UserPreferencesWebadmins) GetPath

func (*UserPreferencesWebadmins) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesWebadmins GET path Returns all available user_preferences/webadmin objects

func (*UserPreferencesWebadmins) RefRequired

func (*UserPreferencesWebadmins) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

Jump to

Keyboard shortcuts

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