Describe an integrity monitoring rule
Describe an integrity monitoring rule including computer-level overrides.
ComputerIntegrityMonitoringRuleDetailsApi.describeIntegrityMonitoringRuleOnComputer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.describe_integrity_monitoring_rule_on_computer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.describeIntegrityMonitoringRuleOnComputer([param1, param2, ...])
path Parameters
successful operation
Not authorized to view the computer.
The computer or integrity monitoring rule does not exist.
- Java
- Python
- JavaScript
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.ComputerIntegrityMonitoringRuleDetailsApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRule; public class DescribeIntegrityMonitoringRuleOnComputerExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth Legacy API Key = (ApiKeyAuth) defaultClient.getAuthentication("Legacy API Key"); Legacy API Key.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } ApiKeyAuth Trend Micro Cloud One API Key = (ApiKeyAuth) defaultClient.getAuthentication("Trend Micro Cloud One API Key"); Trend Micro Cloud One API Key.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 ComputerIntegrityMonitoringRuleDetailsApi instance = new ComputerIntegrityMonitoringRuleDetailsApi(); Integer computerID = 1; Integer integrityMonitoringRuleID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRule result = instance.describeIntegrityMonitoringRuleOnComputer(computerID, integrityMonitoringRuleID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerIntegrityMonitoringRuleDetailsApi.describeIntegrityMonitoringRuleOnComputer"); e.printStackTrace(); } } }
- 200
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "minimumManagerVersion": "string",
- "severity": "low",
- "type": "string",
- "originalIssue": 0,
- "lastUpdated": 0,
- "identifier": "string",
- "template": "registry",
- "registryKeyRoot": "string",
- "registryKeyValue": "string",
- "registryIncludeSubKeys": true,
- "registryIncludedValues": [
- "string"
], - "registryIncludeDefaultValue": true,
- "registryExcludedValues": [
- "string"
], - "registryAttributes": [
- "string"
], - "fileBaseDirectory": "string",
- "fileIncludeSubDirectories": true,
- "fileIncludedValues": [
- "string"
], - "fileExcludedValues": [
- "string"
], - "fileAttributes": [
- "string"
], - "customXML": "string",
- "alertEnabled": true,
- "realTimeMonitoringEnabled": true,
- "recommendationsMode": "enabled",
- "ID": 0
}
Modify an integrity monitoring rule
Modify an integrity monitoring rule assigned to a computer. Any unset elements will be left unchanged.
ComputerIntegrityMonitoringRuleDetailsApi.modifyIntegrityMonitoringRuleOnComputer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.modify_integrity_monitoring_rule_on_computer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.modifyIntegrityMonitoringRuleOnComputer([param1, param2, ...])
path Parameters
header Parameters
Request Body schema: application/json
The settings of the integrity monitoring rule to modify.
successful operation
Not authorized to modify the computer or the requested modification is not permitted.
The computer or integrity monitoring rule does not exist.
- Payload
- Java
- Python
- JavaScript
{- "name": "string",
- "description": "string",
- "severity": "low",
- "template": "registry",
- "registryKeyRoot": "string",
- "registryKeyValue": "string",
- "registryIncludeSubKeys": true,
- "registryIncludedValues": [
- "string"
], - "registryIncludeDefaultValue": true,
- "registryExcludedValues": [
- "string"
], - "registryAttributes": [
- "string"
], - "fileBaseDirectory": "string",
- "fileIncludeSubDirectories": true,
- "fileIncludedValues": [
- "string"
], - "fileExcludedValues": [
- "string"
], - "fileAttributes": [
- "string"
], - "customXML": "string",
- "alertEnabled": true,
- "realTimeMonitoringEnabled": true,
- "recommendationsMode": "enabled"
}
- 200
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "minimumManagerVersion": "string",
- "severity": "low",
- "type": "string",
- "originalIssue": 0,
- "lastUpdated": 0,
- "identifier": "string",
- "template": "registry",
- "registryKeyRoot": "string",
- "registryKeyValue": "string",
- "registryIncludeSubKeys": true,
- "registryIncludedValues": [
- "string"
], - "registryIncludeDefaultValue": true,
- "registryExcludedValues": [
- "string"
], - "registryAttributes": [
- "string"
], - "fileBaseDirectory": "string",
- "fileIncludeSubDirectories": true,
- "fileIncludedValues": [
- "string"
], - "fileExcludedValues": [
- "string"
], - "fileAttributes": [
- "string"
], - "customXML": "string",
- "alertEnabled": true,
- "realTimeMonitoringEnabled": true,
- "recommendationsMode": "enabled",
- "ID": 0
}
Reset integrity monitoring rule overrides
Remove all overrides for an integrity monitoring rule from a computer.
ComputerIntegrityMonitoringRuleDetailsApi.resetIntegrityMonitoringRuleOnComputer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.reset_integrity_monitoring_rule_on_computer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.resetIntegrityMonitoringRuleOnComputer([param1, param2, ...])
path Parameters
successful operation
Not authorized to modify the computer.
The computer does not exist.
- Java
- Python
- JavaScript
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.ComputerIntegrityMonitoringRuleDetailsApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRule; public class ResetIntegrityMonitoringRuleOnComputerExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth Legacy API Key = (ApiKeyAuth) defaultClient.getAuthentication("Legacy API Key"); Legacy API Key.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } ApiKeyAuth Trend Micro Cloud One API Key = (ApiKeyAuth) defaultClient.getAuthentication("Trend Micro Cloud One API Key"); Trend Micro Cloud One API Key.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 ComputerIntegrityMonitoringRuleDetailsApi instance = new ComputerIntegrityMonitoringRuleDetailsApi(); Integer computerID = 1; Integer integrityMonitoringRuleID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRule result = instance.resetIntegrityMonitoringRuleOnComputer(computerID, integrityMonitoringRuleID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerIntegrityMonitoringRuleDetailsApi.resetIntegrityMonitoringRuleOnComputer"); e.printStackTrace(); } } }
- 200
{- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "minimumManagerVersion": "string",
- "severity": "low",
- "type": "string",
- "originalIssue": 0,
- "lastUpdated": 0,
- "identifier": "string",
- "template": "registry",
- "registryKeyRoot": "string",
- "registryKeyValue": "string",
- "registryIncludeSubKeys": true,
- "registryIncludedValues": [
- "string"
], - "registryIncludeDefaultValue": true,
- "registryExcludedValues": [
- "string"
], - "registryAttributes": [
- "string"
], - "fileBaseDirectory": "string",
- "fileIncludeSubDirectories": true,
- "fileIncludedValues": [
- "string"
], - "fileExcludedValues": [
- "string"
], - "fileAttributes": [
- "string"
], - "customXML": "string",
- "alertEnabled": true,
- "realTimeMonitoringEnabled": true,
- "recommendationsMode": "enabled",
- "ID": 0
}
List integrity monitoring rules
Lists all integrity monitoring rules assigned to a computer.
ComputerIntegrityMonitoringRuleDetailsApi.listIntegrityMonitoringRulesOnComputer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.list_integrity_monitoring_rules_on_computer([param1, param2, ...])
ComputerIntegrityMonitoringRuleDetailsApi.listIntegrityMonitoringRulesOnComputer([param1, param2, ...])
successful operation
Not authorized to view the computer.
The computer does not exist.
- Java
- Python
- JavaScript
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.ComputerIntegrityMonitoringRuleDetailsApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRules; public class ListIntegrityMonitoringRulesOnComputerExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth Legacy API Key = (ApiKeyAuth) defaultClient.getAuthentication("Legacy API Key"); Legacy API Key.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } ApiKeyAuth Trend Micro Cloud One API Key = (ApiKeyAuth) defaultClient.getAuthentication("Trend Micro Cloud One API Key"); Trend Micro Cloud One API Key.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 ComputerIntegrityMonitoringRuleDetailsApi instance = new ComputerIntegrityMonitoringRuleDetailsApi(); Integer computerID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRules result = instance.listIntegrityMonitoringRulesOnComputer(computerID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling ComputerIntegrityMonitoringRuleDetailsApi.listIntegrityMonitoringRulesOnComputer"); e.printStackTrace(); } } }
- 200
{- "integrityMonitoringRules": [
- {
- "name": "string",
- "description": "string",
- "minimumAgentVersion": "string",
- "minimumManagerVersion": "string",
- "severity": "low",
- "type": "string",
- "originalIssue": 0,
- "lastUpdated": 0,
- "identifier": "string",
- "template": "registry",
- "registryKeyRoot": "string",
- "registryKeyValue": "string",
- "registryIncludeSubKeys": true,
- "registryIncludedValues": [
- "string"
], - "registryIncludeDefaultValue": true,
- "registryExcludedValues": [
- "string"
], - "registryAttributes": [
- "string"
], - "fileBaseDirectory": "string",
- "fileIncludeSubDirectories": true,
- "fileIncludedValues": [
- "string"
], - "fileExcludedValues": [
- "string"
], - "fileAttributes": [
- "string"
], - "customXML": "string",
- "alertEnabled": true,
- "realTimeMonitoringEnabled": true,
- "recommendationsMode": "enabled",
- "ID": 0
}
]
}