matchlist

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: ISC Imports: 3 Imported by: 2

Documentation

Overview

Package matchlist is the client.Object.LogForwardingProfileMatchList namespace.

Normalized object: Entry

Index

Constants

View Source
const (
	LogTypeTraffic    = "traffic"
	LogTypeThreat     = "threat"
	LogTypeWildfire   = "wildfire"
	LogTypeUrl        = "url"
	LogTypeData       = "data"
	LogTypeGtp        = "gtp"
	LogTypeTunnel     = "tunnel"
	LogTypeAuth       = "auth"
	LogTypeSctp       = "sctp"
	LogTypeDecryption = "decryption"
)

These are valid values for LogType. The value "sctp" is valid for PAN-OS 8.1+. The value "decryption" is valid for PAN-OS 10.0+.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name           string
	Description    string
	LogType        string
	Filter         string
	SendToPanorama bool
	SnmpProfiles   []string // unordered
	EmailProfiles  []string // unordered
	SyslogProfiles []string // unordered
	HttpProfiles   []string // unordered
	// contains filtered or unexported fields
}

Entry is a normalized, version independent representation of a log forwarding profile match list.

PAN-OS 8.0+.

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 FwMatchList

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

FwMatchList is the client.Objects.LogForwardingProfileMatchList namespace.

func (*FwMatchList) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwMatchList) Edit

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

Edit performs EDIT to create / update one object.

func (*FwMatchList) Get

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

Get performs GET to retrieve information for the given uid.

func (*FwMatchList) GetList

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

GetList performs GET to retrieve a list of values.

func (*FwMatchList) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwMatchList) Set

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

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

func (*FwMatchList) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*FwMatchList) ShowList

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

ShowList performs SHOW to retrieve a list of values.

type PanoMatchList

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

PanoMatchList is the client.Objects.LogForwardingProfileMatchList namespace.

func (*PanoMatchList) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoMatchList) Edit

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

Edit performs EDIT to create / update one object.

func (*PanoMatchList) Get

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

Get performs GET to retrieve information for the given uid.

func (*PanoMatchList) GetList

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

GetList performs GET to retrieve a list of values.

func (*PanoMatchList) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoMatchList) Set

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

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

func (*PanoMatchList) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*PanoMatchList) ShowList

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

ShowList performs SHOW to retrieve a list of values.

Directories

Path Synopsis
Package action is the client.Object.LogForwardingProfileMatchListAction namespace.
Package action is the client.Object.LogForwardingProfileMatchListAction namespace.

Jump to

Keyboard shortcuts

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