{
"service": "{the model name of a policy}",
"policyName": "{policy scope folder}.{policy name; must be unique}",
"description": "{description of a policy}",
"templateVersion": "{policy model version}",
"version": "{policy version}",
"priority": "{priority in 1-10; larger the number higher the priority is}",
"riskType": "{the type of risk}",
"riskLevel": "{the level of risk}",
"guard": "{True/False flag to indicate whether guard is applicable or not}",
"content": {
"resources": "{resource name}",
"identity": "{policy identity}",
"policyScope": ["{a tag representing policy scope}"],
"type": "{policy type}",
"flavorFeatures": [
{
"flavorLabel": "{VM/VFC id}",
"flavorProperties":[
{
"hpa_feature" : "{HPA feature type}",
"mandatory" : "{mandatoriness of the feature}",
"score" : "{priority of this feature if the feature is not mandatory for VM}"
"architecture": "{supported architecuture}",
"featureAttributes": [
{
"attribute": "{attribute name}",
"values": "{attribute value}",
"operator": "{comparison operator}",
"unit": "{the unit of an attribute}"}
]
}
]
}
]
}
} |