Trying to add to reporting value for security updates on computer objects. using the list_computers method with the python SDK and using AWS TM 11.3.184.
Method reference: https://automation.deepsecurity.trendmicro.com/article/11_3/api-reference?platform=aws#operation/listComputers
According to the SDK documentation there should be a securityUpdates object inside the return (really security_updates in python return) that contain the status object inside. However, testing seems to show while security_updates exists its value is always None
Note: Btw secondary issue to note is the python SDK API reference shows camelcase (assuming as Java SDK returns as such) but the real return is snake case.
I have crosschecked with console and looking at a computer that has the security update status set "Up-to-Date" the object in API call return still shows None instead. In code snipped can see the end of the computer object return for this case
'last_agent_communication': 1554232722261,
'last_appliance_communication': None,
'last_ip_used': '10.254.253.126',
'last_send_policy_request': 1554148882568,
'last_send_policy_success': 1554148896261,
'log_inspection': {'module_status': {'agent_status': 'inactive',
'agent_status_message': 'Off, not '
'installed, '
'no rules',
'appliance_status': None,
'appliance_status_message': None},
'rule_ids': None,
'state': 'off'},
'no_connector_virtual_machine_summary': None,
'platform': 'Amazon Linux (64 bit) (4.14.77-70.59.amzn1.x86_64)',
'policy_id': 4,
'relay_list_id': None,
'sap': None,
'security_updates': None,
'tasks': None,
'vmware_vm_virtual_machine_summary': None,
'web_reputation': {'module_status': {'agent_status': 'inactive',
'agent_status_message': 'Off, not '
'installed',
'appliance_status': None,
'appliance_status_message': None},
'state': 'off'},
'workspace_virtual_machine_summary': None},
Expectation is like in the API documentation a return similar to this instead of None (in snake case of course in reality, this is copied from API ref):
"securityUpdates": {
"updateStatus": {
"status": "inactive",
"statusMessage": "string"
},
"lastChanged": 0,
"rules": [],
"antiMalware": [],
"webReputationService": [],
"manifests": [],
"other": []
},