Lists all intrusion prevention application types assigned to a computer.
ComputerIntrusionPreventionApplicationTypeDetailsApi.listIntrusionPreventionApplicationTypesOnComputer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.list_intrusion_prevention_application_types_on_computer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.listIntrusionPreventionApplicationTypesOnComputer([param1, param2, ...])
successful operation
Not authorized to view the computer.
The computer does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.ComputerIntrusionPreventionApplicationTypeDetailsApi; import com.trendmicro.deepsecurity.model.ApplicationTypes; public class ListIntrusionPreventionApplicationTypesOnComputerExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values ComputerIntrusionPreventionApplicationTypeDetailsApi instance = new ComputerIntrusionPreventionApplicationTypeDetailsApi(); Integer computerID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ApplicationTypes result = instance.listIntrusionPreventionApplicationTypesOnComputer(computerID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerIntrusionPreventionApplicationTypeDetailsApi.listIntrusionPreventionApplicationTypesOnComputer"); e.printStackTrace(); } } }
{- "applicationTypes": [
- {
- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "direction": "incoming",
- "protocol": "icmp",
- "portType": "any",
- "portMultiple": [
- "string"
], - "portListID": 0,
- "recommendationsMode": "enabled",
- "ID": 0
}
]
}
Describe an intrusion prevention application type including computer-level overrides.
ComputerIntrusionPreventionApplicationTypeDetailsApi.describeIntrusionPreventionApplicationTypeOnComputer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.describe_intrusion_prevention_application_type_on_computer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.describeIntrusionPreventionApplicationTypeOnComputer([param1, param2, ...])
successful operation
Not authorized to view the computer.
The computer or application type does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.ComputerIntrusionPreventionApplicationTypeDetailsApi; import com.trendmicro.deepsecurity.model.ApplicationType; public class DescribeIntrusionPreventionApplicationTypeOnComputerExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values ComputerIntrusionPreventionApplicationTypeDetailsApi instance = new ComputerIntrusionPreventionApplicationTypeDetailsApi(); Integer computerID = 1; Integer applicationTypeID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ApplicationType result = instance.describeIntrusionPreventionApplicationTypeOnComputer(computerID, applicationTypeID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerIntrusionPreventionApplicationTypeDetailsApi.describeIntrusionPreventionApplicationTypeOnComputer"); e.printStackTrace(); } } }
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "direction": "incoming",
- "protocol": "icmp",
- "portType": "any",
- "portMultiple": [
- "string"
], - "portListID": 0,
- "recommendationsMode": "enabled",
- "ID": 0
}
Modify an intrusion prevention application type assigned to a computer. Any unset elements will be left unchanged.
ComputerIntrusionPreventionApplicationTypeDetailsApi.modifyIntrusionPreventionApplicationTypeOnComputer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.modify_intrusion_prevention_application_type_on_computer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.modifyIntrusionPreventionApplicationTypeOnComputer([param1, param2, ...])
The settings of the application type to modify.
successful operation
Not authorized to modify the computer or the requested modification is not permitted.
The computer or application type does not exist.
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "direction": "incoming",
- "protocol": "icmp",
- "portType": "any",
- "portMultiple": [
- "string"
], - "portListID": 0,
- "recommendationsMode": "enabled"
}
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "direction": "incoming",
- "protocol": "icmp",
- "portType": "any",
- "portMultiple": [
- "string"
], - "portListID": 0,
- "recommendationsMode": "enabled",
- "ID": 0
}
Remove all overrides for an intrusion prevention application type from a computer.
ComputerIntrusionPreventionApplicationTypeDetailsApi.resetIntrusionPreventionApplicationTypeOnComputer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.reset_intrusion_prevention_application_type_on_computer([param1, param2, ...])
ComputerIntrusionPreventionApplicationTypeDetailsApi.resetIntrusionPreventionApplicationTypeOnComputer([param1, param2, ...])
successful operation
Not authorized to modify the computer.
The computer does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.ComputerIntrusionPreventionApplicationTypeDetailsApi; import com.trendmicro.deepsecurity.model.ApplicationType; public class ResetIntrusionPreventionApplicationTypeOnComputerExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values ComputerIntrusionPreventionApplicationTypeDetailsApi instance = new ComputerIntrusionPreventionApplicationTypeDetailsApi(); Integer computerID = 1; Integer applicationTypeID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours ApplicationType result = instance.resetIntrusionPreventionApplicationTypeOnComputer(computerID, applicationTypeID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerIntrusionPreventionApplicationTypeDetailsApi.resetIntrusionPreventionApplicationTypeOnComputer"); e.printStackTrace(); } } }
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "direction": "incoming",
- "protocol": "icmp",
- "portType": "any",
- "portMultiple": [
- "string"
], - "portListID": 0,
- "recommendationsMode": "enabled",
- "ID": 0
}