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.
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.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 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 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(); } } }
{- "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",
- "ID": 0
}
]
}
Search for software changes using optional filters.
SoftwareChangesApi.searchSoftwareChanges([param1, param2, ...])
SoftwareChangesApi.search_software_changes([param1, param2, ...])
SoftwareChangesApi.searchSoftwareChanges([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to view software changes.
{- "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,
- "idValue": 0,
- "idTest": "less-than"
}
], - "sortByObjectID": true
}
{- "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",
- "ID": 0
}
]
}
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.
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.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 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 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(); } } }
{- "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",
- "ID": 0
}
Review software changes by given ID list.
SoftwareChangesApi.reviewSoftwareChanges([param1, param2, ...])
SoftwareChangesApi.review_software_changes([param1, param2, ...])
SoftwareChangesApi.reviewSoftwareChanges([param1, param2, ...])
The software change review settings.
successful operation
Not authorized to delete software changes.
Software changes do not exist.
{- "softwareChangeIDs": [
- 0
], - "action": "allow"
}
{- "softwareChangeIDs": [
- 0
], - "action": "allow",
- "softwareChangeReviewResults": [
- {
- "ruleSetID": 0,
- "ruleIDs": [
- 0
]
}
]
}