Interface DirectoryCoo

All Superinterfaces:
BundleableObject, CyberObservableObject, CyberObservableObjectCommonProperties, GenericValidation, SdoDefaultValidator, Serializable, Stix, StixCustomProperties
All Known Implementing Classes:
Directory

@Immutable @DefaultTypeValue(value="directory", groups=DefaultValuesProcessor.class) public interface DirectoryCoo extends CyberObservableObject
directory

The Directory Object represents the properties common to a file system directory.

  • Method Details

    • getPath

      @JsonPropertyDescription("Specifies the path, as originally observed, to the directory on the file system.") String getPath()
    • getPathEnc

      @JsonPropertyDescription("Specifies the observed encoding for the path.") Optional<@Pattern(regexp="^[a-zA-Z0-9/\\.+_:-]{2,250}$") String> getPathEnc()
      This value MUST be specified using the corresponding name from the 2013-12-20 revision of the IANA character set registry.
    • getCreated

      @JsonPropertyDescription("Specifies the date/time the directory was created.") Optional<StixInstant> getCreated()
    • getModified

      @JsonPropertyDescription("Specifies the date/time the directory was last written to/modified.") Optional<StixInstant> getModified()
    • getAccessed

      @JsonPropertyDescription("Specifies the date/time the directory was last accessed.") Optional<StixInstant> getAccessed()
    • getContainsRefs

      @JsonPropertyDescription("Specifies a list of references to other File and/or Directory Objects contained within the directory.") default Set<String> getContainsRefs()
    • getId

      @Derived default String getId()
      Deterministically generates the ID for this directory based on its path.
      Specified by:
      getId in interface BundleableObject
      Specified by:
      getId in interface CyberObservableObjectCommonProperties