/
antivirus_settings_settings.go
53 lines (38 loc) · 1.54 KB
/
antivirus_settings_settings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type AntivirusSettingsSettings struct {
// Allow access when scanning fails.
FailOpen bool `json:"fail_open,omitempty"`
// Glob patterns for leaf filenames.
GlobFilters []string `json:"glob_filters,omitempty"`
// Enable glob filters.
GlobFiltersEnabled bool `json:"glob_filters_enabled,omitempty"`
// If true, only scan files matching a glob filter. If false, only scan files that don't match a glob filter.
GlobFiltersInclude bool `json:"glob_filters_include,omitempty"`
// Paths to include in realtime scans.
PathPrefixes []string `json:"path_prefixes,omitempty"`
// Try to quarantine files when threats are found.
Quarantine bool `json:"quarantine,omitempty"`
// Try to repair files when threats are found.
Repair bool `json:"repair,omitempty"`
// Amount of time in seconds until old reporting data is purged.
ReportExpiry int32 `json:"report_expiry,omitempty"`
// Scan files when apps close them.
ScanOnClose bool `json:"scan_on_close,omitempty"`
// Scan files on access.
ScanOnOpen bool `json:"scan_on_open,omitempty"`
// Skip scanning files larger than this.
ScanSizeMaximum int32 `json:"scan_size_maximum,omitempty"`
// Whether the antivirus service is enabled.
Service bool `json:"service,omitempty"`
// Try to truncate files when threats are found.
Truncate bool `json:"truncate,omitempty"`
}