app

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: ISC Imports: 4 Imported by: 2

Documentation

Overview

Package app is the client.Objects.Application namespace.

Normalized object: Entry

Index

Constants

View Source
const (
	DefaultTypeNone       = "none"
	DefaultTypePort       = "port"
	DefaultTypeIpProtocol = "ip-protocol"
	DefaultTypeIcmp       = "icmp"
	DefaultTypeIcmp6      = "icmp6"
)

Valid DefaultType values.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                                 string
	DefaultType                          string
	DefaultPorts                         []string // ordered
	DefaultIpProtocol                    int
	DefaultIcmpType                      int
	DefaultIcmpCode                      int
	Category                             string
	Subcategory                          string
	Technology                           string
	Description                          string
	Timeout                              int
	TcpTimeout                           int
	UdpTimeout                           int
	TcpHalfClosedTimeout                 int
	TcpTimeWaitTimeout                   int
	Risk                                 int
	AbleToFileTransfer                   bool
	ExcessiveBandwidth                   bool
	TunnelsOtherApplications             bool
	HasKnownVulnerability                bool
	UsedByMalware                        bool
	EvasiveBehavior                      bool
	PervasiveUse                         bool
	ProneToMisuse                        bool
	ContinueScanningForOtherApplications bool
	FileTypeIdent                        bool
	VirusIdent                           bool
	DataIdent                            bool
	AlgDisableCapability                 string
	ParentApp                            string
	NoAppIdCaching                       bool // 8.1+
	// contains filtered or unexported fields
}

Entry is a normalized, version independent representation of an application.

func (*Entry) Copy

func (o *Entry) Copy(s Entry)

Copy copies the information from source Entry `s` to this object. As the Name field relates to the XPATH of this object, this field is not copied.

type FwApp

type FwApp struct {
	// contains filtered or unexported fields
}

FwApp is the client.Objects.Application namespace.

func (*FwApp) Delete

func (c *FwApp) Delete(vsys string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwApp) Edit

func (c *FwApp) Edit(vsys string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwApp) Get

func (c *FwApp) Get(vsys, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwApp) GetList

func (c *FwApp) GetList(vsys string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwApp) Initialize

func (c *FwApp) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*FwApp) Set

func (c *FwApp) Set(vsys string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*FwApp) Show

func (c *FwApp) Show(vsys, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwApp) ShowList

func (c *FwApp) ShowList(vsys string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoApp

type PanoApp struct {
	// contains filtered or unexported fields
}

PanoApp is the client.Objects.Application namespace.

func (*PanoApp) Delete

func (c *PanoApp) Delete(dg string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoApp) Edit

func (c *PanoApp) Edit(dg string, e Entry) error

Edit performs EDIT to create / update one object.

func (*PanoApp) Get

func (c *PanoApp) Get(dg, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*PanoApp) GetList

func (c *PanoApp) GetList(dg string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*PanoApp) Initialize

func (c *PanoApp) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*PanoApp) Set

func (c *PanoApp) Set(dg string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*PanoApp) Show

func (c *PanoApp) Show(dg, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*PanoApp) ShowList

func (c *PanoApp) ShowList(dg string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

Directories

Path Synopsis
Package group is the client.Objects.AppGroup namespace.
Package group is the client.Objects.AppGroup namespace.
Package signature is the client.Objects.AppSignature namespace.
Package signature is the client.Objects.AppSignature namespace.
andcond
Package andcond is the client.Objects.AppSigAndCond namespace.
Package andcond is the client.Objects.AppSigAndCond namespace.
orcond
Package orcond is the client.Objects.AppSigAndCondOrCond namespace.
Package orcond is the client.Objects.AppSigAndCondOrCond namespace.

Jump to

Keyboard shortcuts

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