malware_protection

package
v3.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ATPMalwareInspection

type ATPMalwareInspection struct {
	// A Boolean value that enables or disables scanning of incoming internet traffic for malicious content
	InspectInbound bool `json:"inspectInbound"`

	// A Boolean value that enables or disables scanning of outgoing internet traffic for malicious content
	InspectOutbound bool `json:"inspectOutbound"`
}

Malware Inspection

func GetATPMalwareInspection

func GetATPMalwareInspection(ctx context.Context, service *zscaler.Service) (*ATPMalwareInspection, error)

func UpdateATPMalwareInspection

func UpdateATPMalwareInspection(ctx context.Context, service *zscaler.Service, inspection ATPMalwareInspection) (*ATPMalwareInspection, *http.Response, error)

type ATPMalwareProtocols

type ATPMalwareProtocols struct {
	// A Boolean value that enables or disables scanning of HTTP traffic (and HTTPS traffic if SSL Inspection is enabled) for malicious content in real time
	InspectHttp bool `json:"inspectHttp"`

	// A Boolean value that enables or disables scanning of FTP over HTTP traffic for malicious content in real time
	InspectFtpOverHttp bool `json:"inspectFtpOverHttp"`

	// A Boolean value that enables or disables scanning of FTP traffic for malicious content in real time
	InspectFtp bool `json:"inspectFtp"`
}

Malware Protocols

func GetATPMalwareProtocols

func GetATPMalwareProtocols(ctx context.Context, service *zscaler.Service) (*ATPMalwareProtocols, error)

func UpdateATPMalwareProtocol

func UpdateATPMalwareProtocol(ctx context.Context, service *zscaler.Service, protocol ATPMalwareProtocols) (*ATPMalwareProtocols, *http.Response, error)

type MalwarePolicy

type MalwarePolicy struct {
	// A Boolean value indicating whether to allow or block users from uploading or downloading files that the Zscaler service is unable to scan.
	BlockUnscannableFiles bool `json:"blockUnscannableFiles"`

	// A Boolean value indicating whether to allow or block users from uploading or downloading password-protected files
	BlockPasswordProtectedArchiveFiles bool `json:"blockPasswordProtectedArchiveFiles"`
}

Malware Policy

func GetATPMalwarePolicy

func GetATPMalwarePolicy(ctx context.Context, service *zscaler.Service) (*MalwarePolicy, error)

func UpdateATPMalwarePolicy

func UpdateATPMalwarePolicy(ctx context.Context, service *zscaler.Service, policy MalwarePolicy) (*MalwarePolicy, *http.Response, error)

type MalwareSettings

type MalwareSettings struct {
	// A Boolean value that indicates if malicious programs that cause damage to systems and data are allowed or blocked.
	VirusBlocked bool `json:"virusBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for viruses
	VirusCapture bool `json:"virusCapture"`

	// A Boolean value that allows or blocks unwanted files that are downloaded alongside intentional programs downloaded by users
	UnwantedApplicationsBlocked bool `json:"unwantedApplicationsBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for unwanted applications
	UnwantedApplicationsCapture bool `json:"unwantedApplicationsCapture"`

	// A Boolean value that allows or blocks malicious programs such as Trojan viruses that are presented as beneficial or useful
	TrojanBlocked bool `json:"trojanBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for Trojan viruses
	TrojanCapture bool `json:"trojanCapture"`

	// A Boolean value indicating whether malicious programs that duplicate themselves to spread malicious code to other devices are allowed or blocked
	WormBlocked bool `json:"wormBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for worms
	WormCapture bool `json:"wormCapture"`

	// A Boolean value indicating whether malicious files that automatically render advertisements and install adware are allowed or blocked
	AdwareBlocked bool `json:"adwareBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for adware
	AdwareCapture bool `json:"adwareCapture"`

	// A Boolean value indicating whether malicious files that covertly gather information about a user or an organization are allowed or blocked
	SpywareBlocked bool `json:"spywareBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for spyware
	SpywareCapture bool `json:"spywareCapture"`

	// A Boolean value specifying whether to allow or block malicious programs that can encrypt files and prevent users from accessing their devices, files, or data until a ransom payment is made.
	RansomwareBlocked bool `json:"ransomwareBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for ransomware
	RansomwareCapture bool `json:"ransomwareCapture"`

	// A Boolean value specifying whether to allow or block file download from tools that are common from remote access sites
	RemoteAccessToolBlocked bool `json:"remoteAccessToolBlocked"`

	// A Boolean value specifying whether packet capture (PCAP) is enabled or disabled for remote access tools
	RemoteAccessToolCapture bool `json:"remoteAccessToolCapture"`
}

Malware Settings

func GetATPMalwareSettings

func GetATPMalwareSettings(ctx context.Context, service *zscaler.Service) (*MalwareSettings, error)

func UpdateATPMalwareSettings

func UpdateATPMalwareSettings(ctx context.Context, service *zscaler.Service, setting MalwareSettings) (*MalwareSettings, *http.Response, error)

Jump to

Keyboard shortcuts

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