List Integrity Monitoring Rules
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.
- 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.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 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 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(); } } }
- 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
}
]
}
Create an Integrity Monitoring Rule
Create a new integrity monitoring rule.
IntegrityMonitoringRulesApi.createIntegrityMonitoringRule([param1, param2, ...])
IntegrityMonitoringRulesApi.create_integrity_monitoring_rule([param1, param2, ...])
IntegrityMonitoringRulesApi.createIntegrityMonitoringRule([param1, param2, ...])
header Parameters
Request Body schema: application/json
The settings of the new integrity monitoring rule.
successful operation
Not authorized to view integrity monitorings.
- 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
}
Search Integrity Monitoring Rules
Search for integrity monitoring rules using optional filters.
IntegrityMonitoringRulesApi.searchIntegrityMonitoringRules([param1, param2, ...])
IntegrityMonitoringRulesApi.search_integrity_monitoring_rules([param1, param2, ...])
IntegrityMonitoringRulesApi.searchIntegrityMonitoringRules([param1, param2, ...])
header Parameters
Request Body schema: application/json
A collection of options used to filter the search results.
successful operation
Not authorized to view integrity monitorings.
- Payload
- Java
- Python
- JavaScript
{- "maxItems": 0,
- "searchCriteria": [
- {
- "fieldName": "string",
- "booleanTest": true,
- "numericTest": "less-than",
- "numericValue": 0,
- "numericValueList": [
- 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",
- "idValueList": [
- 0
]
}
], - "sortByObjectID": true
}
- 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
}
]
}
Describe an Integrity Monitoring Rule
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.
- 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.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 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 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(); } } }
- 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 by ID. Any unset elements will be left unchanged.
IntegrityMonitoringRulesApi.modifyIntegrityMonitoringRule([param1, param2, ...])
IntegrityMonitoringRulesApi.modify_integrity_monitoring_rule([param1, param2, ...])
IntegrityMonitoringRulesApi.modifyIntegrityMonitoringRule([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 integrity monitoring rule or the requested modification is not permitted.
The 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
}
Delete an Integrity Monitoring Rule
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.
- 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.IntegrityMonitoringRulesApi; public class DeleteIntegrityMonitoringRuleExample { 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 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(); } } }