All Implemented Interfaces:
Serializable

public class WmiCriterion extends WqlCriterion
Represents a Windows Management Instrumentation (WMI) detection criterion. This criterion allows the execution of WMI queries to identify resources on Windows systems.
See Also:
  • Constructor Details

    • WmiCriterion

      public WmiCriterion(String type, boolean forceSerialization, @NonNull @NonNull String query, String namespace, String expectedResult, String errorMessage)
      Constructor to create an instance of WmiCriterion using a JSON creator.
      Parameters:
      type - Type of the criterion.
      forceSerialization - Flag indicating whether serialization should be forced.
      query - The WMI query associated with the criterion.
      namespace - The namespace for the WMI query.
      expectedResult - The expected result for the criterion.
      errorMessage - The error message associated with the criterion.
  • Method Details