List software changes
Lists all software changes.
SoftwareChangesApi.listSoftwareChanges([param1, param2, ...])
SoftwareChangesApi.list_software_changes([param1, param2, ...])
SoftwareChangesApi.listSoftwareChanges([param1, param2, ...])
successful operation
Not authorized to view software changes.
- 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.SoftwareChangesApi; import com.trendmicro.deepsecurity.model.SoftwareChanges; public class ListSoftwareChangesExample { 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 SoftwareChangesApi instance = new SoftwareChangesApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours SoftwareChanges result = instance.listSoftwareChanges(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling SoftwareChangesApi.listSoftwareChanges"); e.printStackTrace(); } } }
- 200
{- "softwareChanges": [
- {
- "computerID": 0,
- "computerGroupID": 0,
- "vendorName": "string",
- "productName": "string",
- "productVersion": "string",
- "fileVersion": "string",
- "fileDescription": "string",
- "sha1": "string",
- "sha256": "string",
- "md5": "string",
- "fileName": "string",
- "installPath": "string",
- "fileSize": 0,
- "changeEventTime": 0,
- "changeByUser": "string",
- "changeByUserID": "string",
- "changeByProcess": "string",
- "changeByProcessID": "string",
- "changeByProcessSignerName": "string",
- "changeByProcessSignerInfo": "string",
- "changeByProcessVendor": "string",
- "changeByProcessProductName": "string",
- "fileSignerName": "string",
- "fileSignerInfo": "string",
- "filePathName": "string",
- "ID": 0
}
]
}
Search software changes
Search for software changes using optional filters.
SoftwareChangesApi.searchSoftwareChanges([param1, param2, ...])
SoftwareChangesApi.search_software_changes([param1, param2, ...])
SoftwareChangesApi.searchSoftwareChanges([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 software changes.
- 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
{- "softwareChanges": [
- {
- "computerID": 0,
- "computerGroupID": 0,
- "vendorName": "string",
- "productName": "string",
- "productVersion": "string",
- "fileVersion": "string",
- "fileDescription": "string",
- "sha1": "string",
- "sha256": "string",
- "md5": "string",
- "fileName": "string",
- "installPath": "string",
- "fileSize": 0,
- "changeEventTime": 0,
- "changeByUser": "string",
- "changeByUserID": "string",
- "changeByProcess": "string",
- "changeByProcessID": "string",
- "changeByProcessSignerName": "string",
- "changeByProcessSignerInfo": "string",
- "changeByProcessVendor": "string",
- "changeByProcessProductName": "string",
- "fileSignerName": "string",
- "fileSignerInfo": "string",
- "filePathName": "string",
- "ID": 0
}
]
}
Describe a software change
Describe a software change by ID.
SoftwareChangesApi.describeSoftwareChange([param1, param2, ...])
SoftwareChangesApi.describe_software_change([param1, param2, ...])
SoftwareChangesApi.describeSoftwareChange([param1, param2, ...])
successful operation
Not authorized to view software changes.
The software change 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.SoftwareChangesApi; import com.trendmicro.deepsecurity.model.SoftwareChange; public class DescribeSoftwareChangeExample { 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 SoftwareChangesApi instance = new SoftwareChangesApi(); Long softwareChangeID = 1L; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours SoftwareChange result = instance.describeSoftwareChange(softwareChangeID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling SoftwareChangesApi.describeSoftwareChange"); e.printStackTrace(); } } }
- 200
{- "computerID": 0,
- "computerGroupID": 0,
- "vendorName": "string",
- "productName": "string",
- "productVersion": "string",
- "fileVersion": "string",
- "fileDescription": "string",
- "sha1": "string",
- "sha256": "string",
- "md5": "string",
- "fileName": "string",
- "installPath": "string",
- "fileSize": 0,
- "changeEventTime": 0,
- "changeByUser": "string",
- "changeByUserID": "string",
- "changeByProcess": "string",
- "changeByProcessID": "string",
- "changeByProcessSignerName": "string",
- "changeByProcessSignerInfo": "string",
- "changeByProcessVendor": "string",
- "changeByProcessProductName": "string",
- "fileSignerName": "string",
- "fileSignerInfo": "string",
- "filePathName": "string",
- "ID": 0
}
Review software changes
Review software changes by given ID list.
SoftwareChangesApi.reviewSoftwareChanges([param1, param2, ...])
SoftwareChangesApi.review_software_changes([param1, param2, ...])
SoftwareChangesApi.reviewSoftwareChanges([param1, param2, ...])
header Parameters
Request Body schema: application/json
The software change review settings.
successful operation
Not authorized to delete software changes.
Software changes do not exist.
- Payload
- Java
- Python
- JavaScript
{- "softwareChangeIDs": [
- 0
], - "action": "allow"
}
- 200
{- "softwareChangeIDs": [
- 0
], - "action": "allow",
- "softwareChangeReviewResults": [
- {
- "ruleSetID": 0,
- "ruleIDs": [
- 0
]
}
]
}