Lists all integrity monitoring rules assigned to a policy.
PolicyIntegrityMonitoringRuleDetailsApi.listIntegrityMonitoringRulesOnPolicy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.list_integrity_monitoring_rules_on_policy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.listIntegrityMonitoringRulesOnPolicy([param1, param2, ...])
successful operation
Not authorized to view the policy.
The policy 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.PolicyIntegrityMonitoringRuleDetailsApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRules; public class ListIntegrityMonitoringRulesOnPolicyExample { 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 PolicyIntegrityMonitoringRuleDetailsApi instance = new PolicyIntegrityMonitoringRuleDetailsApi(); Integer policyID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRules result = instance.listIntegrityMonitoringRulesOnPolicy(policyID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling PolicyIntegrityMonitoringRuleDetailsApi.listIntegrityMonitoringRulesOnPolicy"); e.printStackTrace(); } } }
{- "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
}
]
}
Describe an integrity monitoring rule including policy-level overrides.
PolicyIntegrityMonitoringRuleDetailsApi.describeIntegrityMonitoringRuleOnPolicy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.describe_integrity_monitoring_rule_on_policy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.describeIntegrityMonitoringRuleOnPolicy([param1, param2, ...])
successful operation
Not authorized to view the policy.
The policy or integrity monitoring rule 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.PolicyIntegrityMonitoringRuleDetailsApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRule; public class DescribeIntegrityMonitoringRuleOnPolicyExample { 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 PolicyIntegrityMonitoringRuleDetailsApi instance = new PolicyIntegrityMonitoringRuleDetailsApi(); Integer policyID = 1; Integer integrityMonitoringRuleID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRule result = instance.describeIntegrityMonitoringRuleOnPolicy(policyID, integrityMonitoringRuleID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling PolicyIntegrityMonitoringRuleDetailsApi.describeIntegrityMonitoringRuleOnPolicy"); e.printStackTrace(); } } }
{- "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 assigned to a policy. Any unset elements will be left unchanged.
PolicyIntegrityMonitoringRuleDetailsApi.modifyIntegrityMonitoringRuleOnPolicy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.modify_integrity_monitoring_rule_on_policy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.modifyIntegrityMonitoringRuleOnPolicy([param1, param2, ...])
The settings of the integrity monitoring rule to modify.
successful operation
Not authorized to modify the policy or the requested modification is not permitted.
The policy or integrity monitoring rule does not exist.
{- "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"
}
{- "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
}
Remove all overrides for an integrity monitoring rule from a policy.
PolicyIntegrityMonitoringRuleDetailsApi.resetIntegrityMonitoringRuleOnPolicy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.reset_integrity_monitoring_rule_on_policy([param1, param2, ...])
PolicyIntegrityMonitoringRuleDetailsApi.resetIntegrityMonitoringRuleOnPolicy([param1, param2, ...])
successful operation
Not authorized to modify the policy.
The policy 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.PolicyIntegrityMonitoringRuleDetailsApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRule; public class ResetIntegrityMonitoringRuleOnPolicyExample { 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 PolicyIntegrityMonitoringRuleDetailsApi instance = new PolicyIntegrityMonitoringRuleDetailsApi(); Integer policyID = 1; Integer integrityMonitoringRuleID = 1; Boolean overrides = false; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRule result = instance.resetIntegrityMonitoringRuleOnPolicy(policyID, integrityMonitoringRuleID, overrides, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling PolicyIntegrityMonitoringRuleDetailsApi.resetIntegrityMonitoringRuleOnPolicy"); e.printStackTrace(); } } }
{- "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
}