GitHub Repository: https://github.com/SimonSparksUK/Automation
Filename: Policy-Day-2-Action-Security-Sample.json
{
"name": "Approval (Security) for Deployment of Specific Blueprint",
"typeId": "com.vmware.policy.approval",
"projectId": "--INSERT-YOUR-PROJECT-ID-HERE--",
"enforcementType": "HARD",
"criteria": {
"matchExpression": [
{
"key": "blueprintId",
"operator": "eq",
"value": "--INSERT-YOUR-BLUEPRINT-ID-HERE--"
}
]
},
"definition": {
"level": 1,
"actions": [
"Deployment.Create"
],
"approvers": [
"USER:security"
],
"approvalMode": "ANY_OF",
"approverType": "USER",
"autoApprovalExpiry": 7,
"autoApprovalDecision": "APPROVE"
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
