/
antivirus_quarantine.go
31 lines (23 loc) · 1.2 KB
/
antivirus_quarantine.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
/*
* 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
// The quarantine status of a file in /ifs.
type AntivirusQuarantine struct {
// Path of this file, starting with /ifs.
File string `json:"file"`
LastIstag string `json:"last_istag,omitempty"`
LastScan int32 `json:"last_scan,omitempty"`
// If true, this file is quarantined. If false, the file is not quarantined.
Quarantined bool `json:"quarantined"`
// The result of the last scan on this file. This string is usually one of: never_scanned, clean, quarantined, repaired, truncated, infected_no_action_taken, skipped_per_settings. However, a longer string starting with 'unknown_status' and describing the details can also appear in uncommon edge cases.
ScanResult string `json:"scan_result"`
// The scanning status of this file. If 'current', the file was scanned with the most up-to-date virus definitions. If 'not_current', it has either not been scanned, been modified since the last scan, or the virus definitions are not current.
ScanStatus string `json:"scan_status"`
}