# Deep Security Manager REST API

## Name: Rule

Details of a rule.

JSON Example:
    {"Rule":
     {
       "action": 'allow' | 'block',
       "fileName": String,
       "path": String,
       "ruleID": Number,
       "sha256": String,
       "size": Number,
     }
    }

Elements
Name | Type | Required | Default Value | Description
--- | --- | --- | --- | ---
action | 'allow' | 'block' | No | `ALLOW` | Get the action to take when a user attempts to launch the executable named in the rule. IMPORTANT: The actual behavior of application control is controlled by policy. To block applications from being launched, application control must be enabled.
fileName | String | Yes | `` | Get the filename (excluding path) of the executable named in the rule.
path | String | Yes | `` | Get the full path (excluding filename) of the executable named in the rule.
ruleID | Number | No | `` | The rule ID.
sha256 | String | Yes | `` | Get the SHA-256 hash of the executable named in the rule.
size | Number | Yes | `` | Get the size of the executable named in the rule.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.