Assign a policy to a computer
Assign a policy to a computer to protect the computer according to the policy settings and the configuration of the security modules:
- Create a
Computerobject. - Set the policy ID to use on the object.
- Use a
ComputersApiobject to update the computer on Deep Security Manager.
The following example assigns a policy to a computer. A search obtains the policy to obtain its ID, which is assigned to a computer. (The creation of the search criteria and search filter is not shown.)
|
Language |
Code |
|---|---|
|
Python |
|
|
JavaScript |
|
|
Java |
|
Tip:
Also see the Modify a Policy operation in the API Reference.
You can override a policy at the computer level. See Configure Computers to Override Policies.
