Resources
List Resources
GET/accounts/{account_id}/magic/cloud/resources
Read Resource
GET/accounts/{account_id}/magic/cloud/resources/{resource_id}
Export Resources
GET/accounts/{account_id}/magic/cloud/resources/export
Preview Rego Query
POST/accounts/{account_id}/magic/cloud/resources/policy-preview
ModelsExpand Collapse
ResourceListResponse { id, account_id, cloud_type, 18 more }
ResourceListResponse { id, account_id, cloud_type, 18 more }
resource_type: "aws_customer_gateway" or "aws_egress_only_internet_gateway" or "aws_internet_gateway" or 54 more
resource_type: "aws_customer_gateway" or "aws_egress_only_internet_gateway" or "aws_internet_gateway" or 54 more
One of the following:
sections: array of { hidden_items, name, visible_items, help_text }
sections: array of { hidden_items, name, visible_items, help_text }
hidden_items: array of { helpText, name, value }
hidden_items: array of { helpText, name, value }
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
McnListItem { item_type, list }
McnListItem { item_type, list }
list: array of { item_type, string } or { item_type, resource_preview }
list: array of { item_type, string } or { item_type, resource_preview }
One of the following:
visible_items: array of { helpText, name, value }
visible_items: array of { helpText, name, value }
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
McnListItem { item_type, list }
McnListItem { item_type, list }
list: array of { item_type, string } or { item_type, resource_preview }
list: array of { item_type, string } or { item_type, resource_preview }
One of the following:
ResourceGetResponse { id, account_id, cloud_type, 18 more }
ResourceGetResponse { id, account_id, cloud_type, 18 more }
resource_type: "aws_customer_gateway" or "aws_egress_only_internet_gateway" or "aws_internet_gateway" or 54 more
resource_type: "aws_customer_gateway" or "aws_egress_only_internet_gateway" or "aws_internet_gateway" or 54 more
One of the following:
sections: array of { hidden_items, name, visible_items, help_text }
sections: array of { hidden_items, name, visible_items, help_text }
hidden_items: array of { helpText, name, value }
hidden_items: array of { helpText, name, value }
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
McnListItem { item_type, list }
McnListItem { item_type, list }
list: array of { item_type, string } or { item_type, resource_preview }
list: array of { item_type, string } or { item_type, resource_preview }
One of the following:
visible_items: array of { helpText, name, value }
visible_items: array of { helpText, name, value }
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
value: optional { item_type, string } or { item_type, yaml } or { item_type, yaml_diff } or 2 more
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
McnListItem { item_type, list }
McnListItem { item_type, list }
list: array of { item_type, string } or { item_type, resource_preview }
list: array of { item_type, string } or { item_type, resource_preview }
One of the following: