Lists all integrity monitoring rules.
IntegrityMonitoringRulesApi.listIntegrityMonitoringRules([param1, param2, ...])
IntegrityMonitoringRulesApi.list_integrity_monitoring_rules([param1, param2, ...])
IntegrityMonitoringRulesApi.listIntegrityMonitoringRules([param1, param2, ...])
successful operation
Not authorized to view integrity monitorings.
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.IntegrityMonitoringRulesApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRules; public class ListIntegrityMonitoringRulesExample { 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 IntegrityMonitoringRulesApi instance = new IntegrityMonitoringRulesApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRules result = instance.listIntegrityMonitoringRules(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling IntegrityMonitoringRulesApi.listIntegrityMonitoringRules"); 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
}
]
}
Create a new integrity monitoring rule.
IntegrityMonitoringRulesApi.createIntegrityMonitoringRule([param1, param2, ...])
IntegrityMonitoringRulesApi.create_integrity_monitoring_rule([param1, param2, ...])
IntegrityMonitoringRulesApi.createIntegrityMonitoringRule([param1, param2, ...])
The settings of the new integrity monitoring rule.
successful operation
Not authorized to view integrity monitorings.
{- "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
}
Describe an integrity monitoring rule by ID.
IntegrityMonitoringRulesApi.describeIntegrityMonitoringRule([param1, param2, ...])
IntegrityMonitoringRulesApi.describe_integrity_monitoring_rule([param1, param2, ...])
IntegrityMonitoringRulesApi.describeIntegrityMonitoringRule([param1, param2, ...])
successful operation
Not authorized to view integrity monitorings.
The 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.IntegrityMonitoringRulesApi; import com.trendmicro.deepsecurity.model.IntegrityMonitoringRule; public class DescribeIntegrityMonitoringRuleExample { 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 IntegrityMonitoringRulesApi instance = new IntegrityMonitoringRulesApi(); Integer integrityMonitoringRuleID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours IntegrityMonitoringRule result = instance.describeIntegrityMonitoringRule(integrityMonitoringRuleID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling IntegrityMonitoringRulesApi.describeIntegrityMonitoringRule"); 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 by ID. Any unset elements will be left unchanged.
IntegrityMonitoringRulesApi.modifyIntegrityMonitoringRule([param1, param2, ...])
IntegrityMonitoringRulesApi.modify_integrity_monitoring_rule([param1, param2, ...])
IntegrityMonitoringRulesApi.modifyIntegrityMonitoringRule([param1, param2, ...])
The settings of the integrity monitoring rule to modify.
successful operation
Not authorized to modify integrity monitoring rule or the requested modification is not permitted.
The 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
}
Delete an integrity monitoring rule by ID.
IntegrityMonitoringRulesApi.deleteIntegrityMonitoringRule([param1, param2, ...])
IntegrityMonitoringRulesApi.delete_integrity_monitoring_rule([param1, param2, ...])
IntegrityMonitoringRulesApi.deleteIntegrityMonitoringRule([param1, param2, ...])
Request is successful.
Not authorized to delete integrity monitoring rules.
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.IntegrityMonitoringRulesApi; public class DeleteIntegrityMonitoringRuleExample { 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 IntegrityMonitoringRulesApi instance = new IntegrityMonitoringRulesApi(); Integer integrityMonitoringRuleID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours instance.deleteIntegrityMonitoringRule(integrityMonitoringRuleID, apiVersion); } catch (ApiException e) { System.err.println("An exception occurred when calling IntegrityMonitoringRulesApi.deleteIntegrityMonitoringRule"); e.printStackTrace(); } } }
Search for integrity monitoring rules using optional filters.
IntegrityMonitoringRulesApi.searchIntegrityMonitoringRules([param1, param2, ...])
IntegrityMonitoringRulesApi.search_integrity_monitoring_rules([param1, param2, ...])
IntegrityMonitoringRulesApi.searchIntegrityMonitoringRules([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to view integrity monitorings.
{- "maxItems": 0,
- "searchCriteria": [
- {
- "fieldName": "string",
- "booleanTest": true,
- "numericTest": "less-than",
- "numericValue": 0,
- "stringTest": "equal",
- "stringValue": "string",
- "stringWildcards": true,
- "choiceTest": "equal",
- "choiceValue": "string",
- "firstDateValue": 0,
- "firstDateInclusive": true,
- "lastDateValue": 0,
- "lastDateInclusive": true,
- "nullTest": true,
- "versionTest": "less-than",
- "versionValue": "string",
- "idValue": 0,
- "idTest": "less-than"
}
], - "sortByObjectID": true
}
{- "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
}
]
}