Documentation ¶
Overview ¶
Package spyware is the client.Objects.CustomSpyware namespace.
This module supports PAN-OS 7.0+.
Normalized object: Entry
Index ¶
- Constants
- type CombinationOr
- type CombinationSignature
- type CombinationSignatureType
- type Condition
- type Entry
- type EqualTo
- type Firewall
- func (c *Firewall) Delete(vsys string, e ...interface{}) error
- func (c *Firewall) Edit(vsys string, e Entry) error
- func (c *Firewall) Get(vsys, name string) (Entry, error)
- func (c *Firewall) GetAll(vsys string) ([]Entry, error)
- func (c *Firewall) GetList(vsys string) ([]string, error)
- func (c *Firewall) Set(vsys string, e ...Entry) error
- func (c *Firewall) Show(vsys, name string) (Entry, error)
- func (c *Firewall) ShowAll(vsys string) ([]Entry, error)
- func (c *Firewall) ShowList(vsys string) ([]string, error)
- type Panorama
- func (c *Panorama) Delete(dg string, e ...interface{}) error
- func (c *Panorama) Edit(dg string, e Entry) error
- func (c *Panorama) Get(dg, name string) (Entry, error)
- func (c *Panorama) GetAll(dg string) ([]Entry, error)
- func (c *Panorama) GetList(dg string) ([]string, error)
- func (c *Panorama) Set(dg string, e ...Entry) error
- func (c *Panorama) Show(dg, name string) (Entry, error)
- func (c *Panorama) ShowAll(dg string) ([]Entry, error)
- func (c *Panorama) ShowList(dg string) ([]string, error)
- type Pattern
- type Qualifier
- type StandardAnd
- type StandardOr
- type StandardSignature
- type StandardSignatureType
Constants ¶
const ( DefaultActionAllow = "allow" DefaultActionAlert = "alert" DefaultActionDrop = "drop" DefaultActionResetClient = "reset-client" DefaultActionResetServer = "reset-server" DefaultActionResetBoth = "reset-both" DefaultActionBlockIp = "block-ip" )
Valid values for Entry.DefaultAction.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinationOr ¶
type CombinationSignature ¶
type CombinationSignature struct { Name string CombinationOrs []CombinationOr }
type CombinationSignatureType ¶
type CombinationSignatureType struct { OrderFree bool ThresholdTime int IntervalTime int AggregationCriteria string Signatures []CombinationSignature }
type Entry ¶
type Entry struct { Name string ThreatName string Comment string Severity string Direction string DefaultAction string BlockIpTrackBy string BlockIpDuration int Cves []string Bugtraqs []string Vendors []string References []string StandardSignatureType *StandardSignatureType CombinationSignatureType *CombinationSignatureType }
Entry is a normalized, version independent representation of a custom data pattern object.
PAN-OS 7.0+.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Objects.CustomSpyware namespace.
func FirewallNamespace ¶
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) Delete ¶
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
type Panorama ¶
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Objects.CustomSpyware namespace.
func PanoramaNamespace ¶
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) Delete ¶
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
type StandardAnd ¶
type StandardAnd struct { Name string StandardOrs []StandardOr }
type StandardOr ¶
type StandardSignature ¶
type StandardSignature struct { Name string Comment string Scope string OrderFree bool StandardAnds []StandardAnd }
type StandardSignatureType ¶
type StandardSignatureType struct {
Signatures []StandardSignature
}