{
"data": [
{
"attributes": {
"created": null,
"enabled": true,
"last_modified_user_uuid": "",
"modified": null,
"name": "Production Cost Allocation Rules",
"position": 0,
"rules": [
{
"enabled": true,
"mapping": null,
"metadata": null,
"name": "AWS Production Account Tagging",
"query": {
"addition": {
"key": "environment",
"value": "production"
},
"case_insensitivity": false,
"if_tag_exists": "do_not_apply",
"query": "billingcurrency:\"USD\" AND account_name:\"prod-account\""
},
"reference_table": null
},
{
"enabled": true,
"mapping": {
"destination_key": "team_owner",
"if_tag_exists": "do_not_apply",
"source_keys": [
"account_name",
"service"
]
},
"metadata": null,
"name": "Team Mapping Rule",
"query": null,
"reference_table": null
},
{
"enabled": true,
"mapping": null,
"metadata": null,
"name": "New table rule with new UI",
"query": null,
"reference_table": {
"case_insensitivity": true,
"field_pairs": [
{
"input_column": "status_type",
"output_key": "status"
},
{
"input_column": "status_description",
"output_key": "dess"
}
],
"if_tag_exists": "append",
"source_keys": [
"http_status",
"status_description"
],
"table_name": "http_status_codes"
}
}
],
"version": 2
},
"id": "55ef2385-9ae1-4410-90c4-5ac1b60fec10",
"type": "ruleset"
},
{
"attributes": {
"created": null,
"enabled": true,
"last_modified_user_uuid": "",
"modified": null,
"name": "Development Environment Rules",
"position": 0,
"rules": [
{
"enabled": true,
"mapping": null,
"metadata": null,
"name": "Dev Account Cost Center",
"query": {
"addition": {
"key": "cost_center",
"value": "engineering"
},
"case_insensitivity": true,
"if_tag_exists": "do_not_apply",
"query": "account_name:\"dev-*\""
},
"reference_table": null
}
],
"version": 1
},
"id": "a7b8c9d0-1234-5678-9abc-def012345678",
"type": "ruleset"
}
]
}