ssldecrypt

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: ISC Imports: 5 Imported by: 1

Documentation

Overview

Package ssldecrypt is the client.Device.SslDecrypt namespace.

Note that there doesn't seem to be SSL decrypt in template stacks.

Note: PAN-OS 8.0+

Normalized object: Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ForwardTrustCertificateRsa            string
	ForwardTrustCertificateEcdsa          string
	ForwardUntrustCertificateRsa          string
	ForwardUntrustCertificateEcdsa        string
	RootCaExcludes                        []string
	TrustedRootCas                        []string
	DisabledPredefinedExcludeCertificates []string
	SslDecryptExcludeCertificates         []SslDecryptExcludeCertificate
}

Config is a normalized, version independent representation of SSL decrypt settings associated with certificates.

Note: PAN-OS 8.0+

func (*Config) Copy

func (o *Config) Copy(s Config)

Copy copies the information from source Config `s` to this object.

func (Config) Specify

func (o Config) Specify(v version.Number) (string, interface{})

type Firewall

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

Firewall is the client.Device.SslDecrypt namespace.

func FirewallNamespace

func FirewallNamespace(client util.XapiClient) *Firewall

FirewallNamespace returns an initialized namespace.

func (*Firewall) Delete

func (c *Firewall) Delete(vsys string) error

Delete performs DELETE to remove the config.

func (*Firewall) DeleteSslDecryptExcludeCertificate added in v0.9.0

func (c *Firewall) DeleteSslDecryptExcludeCertificate(vsys, name string) error

DeleteSslDecryptExcludeCertificate removes a SSL decrypt exclude certificate.

func (*Firewall) DeleteTrustedRootCa

func (c *Firewall) DeleteTrustedRootCa(vsys, name string) error

DeleteTrustedRootCa removes a certificate as a trusted root CA.

func (*Firewall) Edit

func (c *Firewall) Edit(vsys string, e Config) error

Edit performs EDIT to configure the specified object.

func (*Firewall) FromPanosConfig

func (c *Firewall) FromPanosConfig(vsys string) (Config, error)

FromPanosConfig retrieves the object stored in the retrieved config.

func (*Firewall) Get

func (c *Firewall) Get(vsys string) (Config, error)

Get performs GET to retrieve configuration for the given object.

func (*Firewall) Set

func (c *Firewall) Set(vsys string, e Config) error

Set performs SET to configure the specified objects.

func (*Firewall) SetSslDecryptExcludeCertificate added in v0.9.0

func (c *Firewall) SetSslDecryptExcludeCertificate(vsys string, e SslDecryptExcludeCertificate) error

SetSslDecryptExcludeCertificate adds a SSL decrypt exclude certificate.

func (*Firewall) SetTrustedRootCa

func (c *Firewall) SetTrustedRootCa(vsys, name string) error

SetTrustedRootCa adds a certificate as a trusted root CA.

func (*Firewall) Show

func (c *Firewall) Show(vsys string) (Config, error)

Show performs SHOW to retrieve configuration for the given object.

type Panorama

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

Panorama is the client.Device.SslDecrypt namespace.

func PanoramaNamespace

func PanoramaNamespace(client util.XapiClient) *Panorama

PanoramaNamespace returns an initialized namespace.

func (*Panorama) Delete

func (c *Panorama) Delete(tmpl, ts, vsys string) error

Delete performs DELETE to remove the config.

func (*Panorama) DeleteSslDecryptExcludeCertificate added in v0.9.0

func (c *Panorama) DeleteSslDecryptExcludeCertificate(tmpl, ts, vsys, name string) error

DeleteSslDecryptExcludeCertificate removes a SSL decrypt exclude certificate.

func (*Panorama) DeleteTrustedRootCa

func (c *Panorama) DeleteTrustedRootCa(tmpl, ts, vsys, name string) error

DeleteTrustedRootCa removes a certificate as a trusted root CA.

func (*Panorama) Edit

func (c *Panorama) Edit(tmpl, ts, vsys string, e Config) error

Edit performs EDIT to configure the specified object.

func (*Panorama) FromPanosConfig

func (c *Panorama) FromPanosConfig(tmpl, ts, vsys string) (Config, error)

FromPanosConfig retrieves the object stored in the retrieved config.

func (*Panorama) Get

func (c *Panorama) Get(tmpl, ts, vsys string) (Config, error)

Get performs GET to retrieve configuration for the given object.

func (*Panorama) Set

func (c *Panorama) Set(tmpl, ts, vsys string, e Config) error

Set performs SET to configure the specified objects.

func (*Panorama) SetSslDecryptExcludeCertificate added in v0.9.0

func (c *Panorama) SetSslDecryptExcludeCertificate(tmpl, ts, vsys string, e SslDecryptExcludeCertificate) error

SetSslDecryptExcludeCertificate adds a SSL decrypt exclude certificate.

func (*Panorama) SetTrustedRootCa

func (c *Panorama) SetTrustedRootCa(tmpl, ts, vsys, name string) error

SetTrustedRootCa adds a certificate as a trusted root CA.

func (*Panorama) Show

func (c *Panorama) Show(tmpl, ts, vsys string) (Config, error)

Show performs SHOW to retrieve configuration for the given object.

type SslDecryptExcludeCertificate

type SslDecryptExcludeCertificate struct {
	Name        string
	Description string
	Exclude     bool
}

Jump to

Keyboard shortcuts

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