Skip to main content

CasbTenantScanInfoCollection Schema

Data structure for Casb Tenant Scan Info Collection objects.

Item Type​

This is a collection (list) of CasbTenantScanInfo items.

Usage​

# Example: Working with CasbTenantScanInfoCollection
items = [
{"saas_application":"saas_application-value-1","scan_action":1,"scan_info":{"cur_scan_start_time":1,"prev_scan_end_time":1,"scan_reset_num":1},"tenant_id":1,"tenant_name":"tenant_name-value-1"},
{"saas_application":"saas_application-value-2","scan_action":2,"scan_info":{"cur_scan_start_time":2,"prev_scan_end_time":2,"scan_reset_num":2},"tenant_id":2,"tenant_name":"tenant_name-value-2"}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"saas_application": "saas_application-value-1",
"scan_action": 1,
"scan_info": {
"cur_scan_start_time": 1,
"prev_scan_end_time": 1,
"scan_reset_num": 1
},
"tenant_id": 1,
"tenant_name": "tenant_name-value-1"
},
{
"saas_application": "saas_application-value-2",
"scan_action": 2,
"scan_info": {
"cur_scan_start_time": 2,
"prev_scan_end_time": 2,
"scan_reset_num": 2
},
"tenant_id": 2,
"tenant_name": "tenant_name-value-2"
}
]