InlineProposedSecurityPoliciesRequest1

InlineProposedSecurityPoliciesRequest1
InlineProposedSecurityPoliciesRequest1
JSON Example
{
    "policy_type": "ENVIRONMENT",
    "sort_ascending": true,
    "sort_by": "sequenceNumber",
    "page_size": 100,
    "offset": 0,
    "source_groups": [
        "/infra/domains/default/groups/6d73410b-014c-4d00-8a17-e9e158ce0652"
    ]
}
policy_type
Optional

Type of proposed security policy used for polymorphic responses:

  1. ENVIRONMENT - Environment security policy
  2. INFRASTRUCTURE - Infrastructure security policy
Enumeration: ENVIRONMENT, INFRASTRUCTURE
publish_status
Optional

Filter by publication status

array of string
source_groups
Optional

When set, only security policies that have at least one rule whose sources match are returned. A rule matches if any of its source group paths or IDs equals any listed value. Rules with no explicit sources (ANY) do not satisfy this filter. Values are compared case-sensitively. OR semantics across the list.

array of string
destination_groups
Optional

Same as source_groups, but evaluated against each rule's destination groups (and alt_destinations).

array of string
scope
Optional

Same as source_groups, but evaluated against each rule's applied-to scope groups.

array of string
services
Optional

When set, only policies with at least one rule whose services match are returned. A rule matches if any filter token equals an NSX service path on the rule, or matches a custom TCP/UDP token in the form PROTO:PORT or proto/port (case-insensitive protocol). The literal ANY in the filter list is ignored. Rules with no services (ANY) do not satisfy this filter.

proposed_sync_action
Optional

Filter by proposed sync action. Only policies whose proposed_sync_action matches any of the listed values are returned. OR semantics within the list. When omitted, no filtering by sync action is applied.