Skip to content

Enum: FileTypeIdEnum

The file type ID. Note the distinction between a Regular File and

an Executable File. If the distinction is not known, or not

indicated by the log, use Regular File. In this case, it should

not be assumed that a Regular File is not executable.

URI: ocsf:FileTypeIdEnum

Permissible Values

Value Meaning Description
UNKNOWN None Unknown
REGULAR_FILE None Regular File
FOLDER None Folder
CHARACTER_DEVICE None Character Device
BLOCK_DEVICE None Block Device
LOCAL_SOCKET None Local Socket
NAMED_PIPE None Named Pipe
SYMBOLIC_LINK None Symbolic Link
EXECUTABLE_FILE None Executable File
OTHER None Other

Slots

Name Description
type_id The file type ID

Identifier and Mapping Information

Schema Source

LinkML Source

name: FileTypeIdEnum
description: 'The file type ID. Note the distinction between a <code>Regular File</code>
  and

  an <code>Executable File</code>. If the distinction is not known, or not

  indicated by the log, use <code>Regular File</code>. In this case, it should

  not be assumed that a Regular File is not executable.'
from_schema: https://w3id.org/lmodel/ocsf
rank: 1000
permissible_values:
  UNKNOWN:
    text: UNKNOWN
    description: Unknown
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '0'
      caption:
        tag: caption
        value: Unknown
  REGULAR_FILE:
    text: REGULAR_FILE
    description: Regular File
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '1'
      caption:
        tag: caption
        value: Regular File
  FOLDER:
    text: FOLDER
    description: Folder
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '2'
      caption:
        tag: caption
        value: Folder
  CHARACTER_DEVICE:
    text: CHARACTER_DEVICE
    description: Character Device
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '3'
      caption:
        tag: caption
        value: Character Device
  BLOCK_DEVICE:
    text: BLOCK_DEVICE
    description: Block Device
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '4'
      caption:
        tag: caption
        value: Block Device
  LOCAL_SOCKET:
    text: LOCAL_SOCKET
    description: Local Socket
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '5'
      caption:
        tag: caption
        value: Local Socket
  NAMED_PIPE:
    text: NAMED_PIPE
    description: Named Pipe
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '6'
      caption:
        tag: caption
        value: Named Pipe
  SYMBOLIC_LINK:
    text: SYMBOLIC_LINK
    description: Symbolic Link
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '7'
      caption:
        tag: caption
        value: Symbolic Link
  EXECUTABLE_FILE:
    text: EXECUTABLE_FILE
    description: Executable File
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '8'
      caption:
        tag: caption
        value: Executable File
  OTHER:
    text: OTHER
    description: Other
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '99'
      caption:
        tag: caption
        value: Other