Skip to content

Commit

Permalink
Fix errors in the Security Draft Mode spec
Browse files Browse the repository at this point in the history
Change-Id: I55095c64450de9541307d2538324d47300dbbcd7
Partial-Bug: #1742774
  • Loading branch information
Édouard Thuleau committed Feb 15, 2018
1 parent c06944c commit cf2a684
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions security_draft_mode.md
Expand Up @@ -138,16 +138,20 @@ resources and to commit or revert them:
3. List pending modified security resources per scope

```
GET /policy-management/<DRAFT_POLICY_MANAGEMENT_UUID>?details=True&fields=application-policy-set,firewall-policy,firewall-rule,service-group,address-group
GET /policy-management/<DRAFT_POLICY_MANAGEMENT_UUID>?fields=application_policy_sets,firewall_policys,firewall_rules,service_groups,address_groups
```
That returns, the scoped and dedicated policy management resource with
references to all pending security reousrces. The security resource types
references to all pending security resources. The security resource types
filter can be adjusted with the `fields` filter.

2. Commit or revert modified security resources per scope

```
POST /security-policy-draft/[commit|revert]/<SCOPE_UUID>
POST /security-policy-draft
{
'scope_uuid': <SCOPE_UUID>,
'action': [commit|revert]
}
```

Also, a new filter (boolean named `draft`) for detailed list and show API calls
Expand Down

0 comments on commit cf2a684

Please sign in to comment.