# Deep Security Manager REST API

## Name: HostFilter

Details of a host filter.

JSON Example:
    {"HostFilter":
     {
       "hostGroupID": Number,
       "hostID": Number,
       "policyID": Number,
       "smartFolderID": Number,
       "type": 'host' | 'all-hosts' | 'hosts-in-hostgroup' | 'hosts-in-group-or-subgroup' | 'hosts-using-policy' | 'hosts-using-policy-or-descendant' | 'hosts-in-smart-folder',
     }
    }

Elements
Name | Type | Required | Default Value | Description
--- | --- | --- | --- | ---
hostGroupID | Number | No | `` | Get the host group identifier.
hostID | Number | No | `` | Get the host identifier.
policyID | Number | No | `` | Get the policy identifier.
smartFolderID | Number | No | `` | Get the smart folder identifier.
type | 'host' | 'all-hosts' | 'hosts-in-hostgroup' | 'hosts-in-group-or-subgroup' | 'hosts-using-policy' | 'hosts-using-policy-or-descendant' | 'hosts-in-smart-folder' | No | `` | Get the host filter type.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.