Isilon OneFS: Seznam hodnot Isilon Audit Payload
Summary: Seznam možných hodnot Isilon, které lze zobrazit v hrubých výstupech výsledků isi_audit.
Instructions
Následuje seznam možných hodnot Isilon, které lze vidět v hrubých výstupech isi_audit Výsledky.
Tento výpis není specifický pro verzi. Některé z těchto kódů existují pouze v určitých verzích systému OneFS. Novější verze systému OneFS mají rozšířené možnosti; Tento článek obsahuje seznam všech datových částí auditu ve všech verzích. Tento seznam má sloužit jako reference při kontrole jednotlivých událostí auditu obecně.
Audit může monitorovat a sledovat akce účtů připojených k systému souborů OneFS v protokolech, jako jsou SMB a NFS.
Akce zaznamenané v nezpracované podobě vypadají takto (mezi verzemi a érami systému OneFS dochází k určitým odchylkám):
{"id":"8f0ae523-1741-12ea-8d1f-010e1ea7b298","timestamp":1575538065995502,"payloadType":"c411a642-c139-4c7a-be58-93680bc20b41","payload":{"protocol":"NFS","zoneID":5,"zoneName":"AuditedZone","eventType":"delete","isDirectory":false,"clientIPAddr":"10.51.221.92","fileName":"\\ifs\\home\\user00001\\staging\\datareview\\infa\\client\\Temp\\datapoint_file.txt","userSID":"S-1-22-2000","userID":2000,"ntStatus":0,"fsId":1,"partialPath":"datapoint_file.txt","rootInode":4512436961,"inode":5128815920}}
{"id":"87b8bbh5-181c-71ea-8d1f-000g1ia7j295","timestamp":1575522001272734,"payloadType":"c411a642-c139-4c7a-be58-93680bc20b41","payload ":"protocol":"NFS","zoneID":5,"zoneName":"AuditedZone","eventType":"create","createResult":"OPENED","isDirectory":true,"desiredAccess":0,"clientIPAddr":"10.14.73.184","createDispo":1,"userSID":"S-1-22-1-2000","userID":2000,"fileName":"\\ifs\\data\\project00004\\dev\\logs\\ABC\\that-one-project-data","ntStatus":0,"fsId":1,"inode":4725492968}}
V rámci toho jsou tyto pojmy definovány jako:
clientIPAddr: String of the IP of the user performing the actionclientIp: The IP address of the client which initiated the request (causing the event)createDispo: Creation disposition specified by user at create/open timedesiredAccess: Desired access specified by user at create/open timeencodedNewName: The encoded new name, if there is a renameencodedPath: The encoded UNC Path of the fileencodedRelativePath: The encoded relative pathencodingType: The encoding used for values, if the value contains characters that cannot be included with XMLevent: The event that caused the checkfileName: String of the absolute path of the file or "UNKNOWN" if audit cannot get the path. The path uses UNC style of path separators ("\\")fileSize: Size of the file at the time of manipulationflag: One of the CEPP_FLAG_XXX defined abovefsId: File system Id of parent directory. This integer is the ID value of the file system in question (default value of 1)id: A value based on the cluster GUID and the audited Zone ID, and is unique for the audited event; this is a UUID for that eventinode: Integer of the inode of the file or directoryisDirectory: Boolean for whether the event is for a file or a directorynewFSId: new file system id (if different from fsId) of target parent directory (rename)newName: The new name (on a rename operation)newParentInode: The inode of the target parent directory (rename)ntStatus: The NTSTATUS code of the action. (0 is STATUS_SUCCESS)ownerId: The id of the owner of the fileownerSid: Sid of the file ownerparentInode: The inode of the containing directorypartialPath: String of the relative path of the file or directory. The path uses UNC style of path separators ("\\")partialPathParentInode: parent inode of the partial path abovepath: UNC name of the file (or dir) - absolute pathpayload: The complete delivered audit event, encapsulating most of these valuespayloadType: String of "4b66b1eb-6e1a-416d-b80c-5a642a603a0b: For Protocol Activity EventspayloadType: String of "7afb8d54-0aa7-4ed4-9691-341313ee37e3: For Audit Driver Loaded Audit EventspayloadType: String of "bbce6a72-a92d-4330-a1f3-e9fd5aed8152: For Audit Driver Unload Audit EventspayloadType: String of "c411a642-c139-4c7a-be58-93680bc20b41: For Protocol Data Eventsprotocol: String of the protocol the action occurred under. Usually one of the following in OneFS 7.2 and later: "CIFS" (for SMB1); "SMB2"; "NFS" (for NFSv3); "NFS4"; "HDFS"relativePath: UNC name of the file (or dir) as accessed by the clientrootInode: Integer of the inode of the directory where the partialPath isserverIp: The IP address of the server at which the event was recordedserver: The Server name where the event occurred. Server IP for NFSshare: The Share on the server; the Export name for NFStimeStamp: The time at which the file operation occurred (cluster local time). It is a 64-bit value, where the high 32 bits represent the time and the lower 32 bits represent the microseconds (Format: 0x1234abcd1234abcd)type: File, Directory, etc.userID: Integer of the UID of the user performing the action (OneFS 7.2 and later)userSID: String of the SID of the user performing the action ("userSID" is not available in "logon" failure events.)zoneID: Integer of the OneFS access zone ID the action is being performed on/throughzoneName: String of the OneFS access zone name at the time of the event that the action is being performed on/through
Existuje několik dalších hodnot a polí, které mohou mít několik možných proměnných.
Pro "eventType", mají některé typy událostí další pole datové části uvedená pod následujícími typy:
eventType = create: For creating or opening a file or directoryeventType = close: For closing a file or directory
isDirectory" je pro soubory false.)
-
bytesRead: Integer of the total number of bytes read since the open or createbytesWritten: Integer of the total number of bytes written since the openingnumberOfReads: Integer of the total number of reads made to the file since openingnumberOfWrites: Integer of the total number of writes made to the file
eventType = read: The first read to a file since opening it
-
bytesRead: Integer of the number of bytes read in the first read.
eventType = write: The first write to a file since opening it
-
bytesWritten: Integer of the number of bytes written in the first write
eventType = rename: Rename of a file or directory.
-
newFileName: String of the absolute path of the new file name or "UNKNOWN"; the path uses UNC style of path separators ("\\").newPartialPath: String of the relative path of the new file name. The path uses UNC style of path separators ("\\").newRootInode: Integer of the new parent directory's inode that contains "newPartialPath"
eventType = get-security: Get security information or permissions from the file or directory.
-
- (žádná další pole)
eventType = set-security: Set security information or permissions on the file or directory.
-
- (žádná další pole)
eventType = delete: Delete a file or directory.
-
- (žádná další pole)
eventType = logon: Logging on.
-
- (žádná další pole)
eventType = logoff: Logging off.
-
- (žádná další pole)
eventType = tree-connect: Performing an SMB tree connect.-
- (žádná další pole)
U událostí auditu s payloadType = "7afb8d54-0aa7-4ed4-9691-341313ee37e3" (Audit driver Loaded Audit Events).
- Jedná se o události auditu, které signalizují, kdy byl načten ovladač filtru auditu.
- Tyto události auditu obsahují datovou část, která obsahuje řetězec JSON určující, který ovladač auditu se načetl.
-
Audit Driver: flt_audit Loaded: SMB audit driver loaded.Audit Driver: flt_audit_nfs Loaded: NFS audit driver loaded.Audit Driver: flt_audit_hdfs Loaded: HDFS audit driver loaded.
U událostí auditu s payloadType = "bbce6a72-a92d-4330-a1f3-e9fd5aed8152" (Audit driver Unload Audit Events).
- Jedná se o události auditu, které signalizují, kdy byl ovladač filtru auditu uvolněn.
- Tyto události auditu obsahují datovou část, která obsahuje řetězec JSON určující, který ovladač auditu se zastavil.
-
Shutting down audit driver: flt_audit: SMB audit driver stopped.Shutting down audit driver: flt_audit_nfs: NFS audit driver loaded.Shutting down audit driver: flt_audit_hdfs: HDFS audit driver loaded.
eventType:String of the audit event type of action. One of:create: Create or open a file or directory.close: Close a file or directory.read: First read on a file since opening it.write: First write on a file since opening it.rename: Rename a file or directory.delete: Delete a file or directory.set-security: Set security information or permissions on a file or directory.get-security: Get security information or permissions on a file or directory.
createDispo: Integer of the create/open disposition; this is the request of how the file or directory should be opened or created:0 - FILE_SUPERSEDE - Replace an existing file or create it.1 - FILE_OPEN - Open an existing file or fail.2 - FILE_CREATE - Create a nonexisting file or fail.3 - FILE_OPEN_IF - Open an existing file or create it.4 - FILE_OVERWRITE - Open and overwrite an existing file or fail.5 - FILE_OVERWRITE_IF - Open and overwrite an existing file or create it.
createResult: String of the create/open result. One of:SUPERSEDED: The file existed and was replaced.OPENED: The file existed and was opened.CREATED: The file did not exist and was created.EXISTS: The file exists and was not created.DOES_NOT_EXIST: The file did not exist and was not opened.UNKNOWN: Unknown
desiredAccess: Integer of the bitwise combined wanted access of the following:- 2.2.1.4.1 File_Pipe_Printer_Access_Mask (Externí odkaz)
- 2.2.1.4.2 Directory_Access_Mask (externí odkaz) a související činnosti a studium na webu