Documentation ¶
Overview ¶
Package threat is the ngfw.Predefined.Threat namespace.
The functions in these namespaces all take a "tt" param. This is the "threat type," and the values for this are the constants in this namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Firewall
- func (c *Firewall) Get(tt, name string) (Entry, error)
- func (c *Firewall) GetList(tt string) ([]string, error)
- func (c *Firewall) GetThreats(tt, expr string) ([]Entry, error)
- func (c *Firewall) Show(tt, name string) (Entry, error)
- func (c *Firewall) ShowList(tt string) ([]string, error)
- func (c *Firewall) ShowThreats(tt, expr string) ([]Entry, error)
- type Panorama
- func (c *Panorama) Get(tt, name string) (Entry, error)
- func (c *Panorama) GetList(tt string) ([]string, error)
- func (c *Panorama) GetThreats(tt, expr string) ([]Entry, error)
- func (c *Panorama) Show(tt, name string) (Entry, error)
- func (c *Panorama) ShowList(tt string) ([]string, error)
- func (c *Panorama) ShowThreats(tt, expr string) ([]Entry, error)
Constants ¶
const ( Vulnerability = "vulnerability" PhoneHome = "phone-home" )
Valid threat types.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is a normalized, version independent representation of a threat.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Predefined.Threat namespace.
func FirewallNamespace ¶
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) GetThreats ¶
GetThreats performs a GET to retrieve a list of objects whose threat name matches the given regex.
type Panorama ¶
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Predefined.Threat namespace.
func PanoramaNamespace ¶
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) GetThreats ¶
GetThreats performs a GET to retrieve a list of objects whose threat name matches the given regex.