Get resources protection statuses

GET {{base_url}}/api/resource_management/v4/resource_statuses?type=resource.machine

The group condition the same as search criteria are as on https://dl.managed-protection.com/u/baas/help/9.0/user/en-US/index.html#46985.html

Request Params

KeyDatatypeRequiredDescription
include_attributesboolean
typestring
orderstring
limitnumber
afternull
beforenull

Request Body

{"type"=>"resource.group.computers", "group_condition"=>"test-vm*", "parent_group_ids"=>["00000000-0000-0000-0000-000000000000"], "allowed_member_types"=>["resource.machine"], "name"=>"Dynamic group", "user_defined_name"=>"Dynamic group"}

RESPONSES

status: OK

{"items":[{"context":{"id":"acd5ed67-a3e5-4efe-94cf-6bd71a388299","created_at":"2021-03-11T11:54:23.192302969Z","updated_at":"2021-03-15T12:28:07.764635376Z","tenant_id":"1952010","external_id":"acd5ed67-a3e5-4efe-94cf-6bd71a388299@1952010","type":"resource.machine","name":"test-vm-2","user_defined_name":"test-vm-2"},"aggregate":{"status":"idle","names":"Cyber Protection Test Plan"},"policies":[{"type":"policy.backup.machine","next_run":"2021-03-16T09:57:15Z","last_run":"2021-03-15T10:02:27.858896Z","last_success_run":"2021-03-15T10:02:27.858896Z"},{"type":"policy.security.antimalware_protection","next_run":"2021-03-16T09:57:15Z","last_run":"2021-03-15T10:02:27.858896Z","last_success_run":"2021-03-15T10:02:27.858896Z"},{"type":"policy.security.patch_management","next_run":"2021-03-16T09:57:15Z"},{"type":"policy.security.vulnerability_assessment","next_run":"2021-03-16T09:57:15Z","last_run":"2021-03-15T10:02:27.858896Z","last_success_run":"2021-03-15T10:02:27.858896Z"}]},{"context":{"id":"aab42c95-14dc-48ab-87b4-96120111b957","created_at":"2021-03-11T15:27:04.940016497Z","updated_at":"2021-03-11T15:41:57.478058681Z","tenant_id":"1952010","external_id":"aab42c95-14dc-48ab-87b4-96120111b957@1952010","type":"resource.machine","name":"stas-Virtual-Machine","user_defined_name":"stas-Virtual-Machine"},"aggregate":{"status":"idle","names":"Linux compatible plan"},"policies":[{"type":"policy.backup.machine","next_run":"2021-03-11T15:51:52Z","last_run":"2021-03-11T15:32:46Z"}]},{"context":{"id":"b27db750-e01d-48f9-bcf5-7be5f992a65b","created_at":"2021-03-11T13:17:59.051324988Z","updated_at":"2021-03-15T12:29:15.183528956Z","tenant_id":"1952010","external_id":"b27db750-e01d-48f9-bcf5-7be5f992a65b@1952010","type":"resource.machine","name":"test-lab-vm-2","user_defined_name":"test-lab-vm-2"},"aggregate":{"status":"idle","names":"Cyber Protection Test Plan"},"policies":[{"type":"policy.security.patch_management","next_run":"2021-03-16T09:49:19Z"},{"type":"policy.security.vulnerability_assessment","next_run":"2021-03-16T09:49:19Z","last_run":"2021-03-15T09:49:38.5890008Z","last_success_run":"2021-03-15T09:49:38.5890008Z"},{"type":"policy.backup.machine","next_run":"2021-03-16T09:49:19Z","last_run":"2021-03-15T09:49:38.5890008Z","last_success_run":"2021-03-15T09:49:38.5890008Z"},{"type":"policy.security.antimalware_protection","next_run":"2021-03-16T09:49:19Z","last_run":"2021-03-15T09:49:38.5890008Z","last_success_run":"2021-03-15T09:49:38.5890008Z"}]},{"context":{"id":"2030f14e-bdf5-43cb-8f76-4d8b5a0c90d8","created_at":"2021-03-11T11:37:02.63459739Z","updated_at":"2021-03-15T12:29:41.472500405Z","tenant_id":"1952010","external_id":"2030f14e-bdf5-43cb-8f76-4d8b5a0c90d8@1952010","type":"resource.machine","name":"test-vm-1","user_defined_name":"test-vm-1"},"aggregate":{"status":"idle","names":"Backup My Files;Cyber Protection Test Plan"},"policies":[{"type":"policy.security.antimalware_protection","next_run":"2021-03-16T10:07:53Z","last_run":"2021-03-15T10:08:05.8553022Z","last_success_run":"2021-03-15T10:08:05.8553022Z"},{"type":"policy.security.patch_management","next_run":"2021-03-16T10:07:53Z"},{"type":"policy.security.vulnerability_assessment","next_run":"2021-03-16T10:07:53Z","last_run":"2021-03-15T10:08:05.8553022Z","last_success_run":"2021-03-15T10:08:05.8553022Z"},{"type":"policy.backup.machine","next_run":"2021-03-16T10:07:53Z","last_run":"2021-03-15T10:08:05.8553022Z","last_success_run":"2021-03-15T10:08:05.8553022Z"}]}],"paging":{"cursors":{"total":4}},"groupCreationForbidden":false,"_links":[{"rel":"self","href":"/api/resource_management/v4/resource_statuses"}]}