{
"id": "01J1PTTM3HNHAR3SP9KFR5KP9Z",
"name":"awsComputePolicy",
"provider_code": "aws",
"resource_categories": [
"compute"
],
"resource_types": [
"vms"
],
"definition_keys": [
{
"and": [
{
"key": "dept",
"constraint_ids": [
{
"id": "01J1PTH4DSEZN204JTQWNZ3DEF",
"operator": "in",
"value": [
"pdm",
"qa"
],
"created_at": "2024-07-22T12:32:16.197Z",
"updated_at": "2024-07-22T12:32:16.197Z",
"created_by": "
[email protected]",
"updated_by": "
[email protected]"
}
]
},
{
"key": "vmtypes",
"constraint_ids": [
{
"id": "01J1PT7JE7BQDJ762S0K375ABC",
"operator": "in",
"value": [
"8gb",
"16gb"
],
"created_at": "2024-07-22T12:31:52.96Z",
"updated_at": "2024-07-22T12:31:52.96Z",
"created_by": "
[email protected]",
"updated_by": "
[email protected]"
}
]
}
]
},
{
"and": [
{
"key": "dept",
"constraint_ids": [
{
"id": "01J1PTH4DSEZN204JTQWNZ3G8J",
"operator": "eq",
"value": "Engineering",
"created_at": "2024-07-22T12:32:04.929Z",
"updated_at": "2024-07-22T12:32:04.929Z",
"created_by": "
[email protected]",
"updated_by": "
[email protected]"
}
]
},
{
"key": "vmtypes",
"constraint_ids": [
{
"id": "01J1PT7JE7BQDJ762S0K375GRD",
"operator": "eq",
"value": "32gb",
"created_at": "2024-07-22T12:31:32.83Z",
"updated_at": "2024-07-22T12:31:32.83Z",
"created_by": "
[email protected]",
"updated_by": "
[email protected]"
}
]
}
]
},
{
"eq": [
{
"key": "dept",
"constraint_ids": [
{
"id": "01J1PTH4DSEZN204JTQWNZ3DEW",
"operator": "in",
"value": [
"pdm",
"qa",
"Engineering"
],
"created_at": "2024-07-22T12:32:26.58Z",
"updated_at": "2024-07-22T12:32:26.58Z",
"created_by": "
[email protected]",
"updated_by": "
[email protected]"
}
]
}
]
}
],
"_metadata": {},
"version": 0,
"status":"active",
"description": "sample policy for department and vmtypes validation",
"created_at": "2024-07-22T12:33:26.809Z",
"updated_at": "2024-07-22T12:33:26.809Z",
"created_by": "
[email protected]",
"updated_by": "
[email protected]"
}