Skip to main content

Query Security Policy Set Stacks (v2.0)

POST 

https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/ngfwsecuritypolicysetstacks/query

Query the security policy v2 set stacks of a tenant.

Request

Body

    aggregate Aggregate

    The aggregate number of policy set stacks that match the query parameters.

    data AggregateData[]

    The details of the aggregate data.

  • Array [
  • valuenumber

    Value of the aggregate data.

    viewobject

    View the aggregate date.

  • ]
  • fieldstring

    The field value.

    namestring

    The name of the query response.

    operatorstring

    The operator values.

    Possible values: [max, count, min, avg, sum]

    statisticstring

    The aggregate statistics.

    unitstring

    The unit.

    dest_pageint32

    The destination page.

    getDeletedboolean

    The number of policy set stacks deleted for a time frame.

    group_bystring[]

    Group the policy set stacks for the query.

    idstring

    List the policy set stacks by ID.

    last_query_tsint64

    Return the ID of a specified query in the current session.

    limitint32

    The query limit.

    next_queryobject

    The limit.

    query_paramsobject
    retrieved_fieldsstring[]

    Retrieve information from a field.

    retrieved_fields_maskboolean

    List the fields to query.

    sort_paramsobject
    total_countint64

    The total number of query parameters.

Responses

Successful Operation

Schema
    countint32

    The actual count.

    deleted_countint64

    The deleted number.

    deleted_idsstring[]

    The deleted IDs.

    description

    Description of the query. Max size = 256.

    idstring

    The ID.

    next_queryobject

    Details of the next query.

    total_countint64

    Total number.

    items SecurityPolicyV2SetStackQueryFilter[]
  • Array [
  • defaultrule_policyset_idstring

    The default rule of the policy set ID.

    description

    The description of the security policy set stack. Max size = 256.

    idstring

    The security policy set stack ID.

    namestringrequired

    The name of the security policy set stack.

    policyset_idsstring[]

    The IDs of the policy set. Policy sets must be between 1-4.

    tagsstring[]

    A information field that can be added to identify the security policy set stack. Maximum 10 unique tags of length 1024 each are allowed.

  • ]
curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/ngfwsecuritypolicysetstacks/query' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"aggregate": {
"data": [
{
"value": 0,
"view": {}
}
],
"field": "string",
"name": "string",
"operator": "max",
"statistic": "string",
"unit": "string"
},
"dest_page": 0,
"getDeleted": true,
"group_by": [
"string"
],
"id": "string",
"last_query_ts": 0,
"limit": 0,
"next_query": {},
"query_params": {},
"retrieved_fields": [
"string"
],
"retrieved_fields_mask": true,
"sort_params": {},
"total_count": 0
}'
Request Collapse all
Base URL
https://api.sase.paloaltonetworks.com
Body
{
  "aggregate": {
    "data": [
      {
        "value": 0,
        "view": {}
      }
    ],
    "field": "string",
    "name": "string",
    "operator": "max",
    "statistic": "string",
    "unit": "string"
  },
  "dest_page": 0,
  "getDeleted": true,
  "group_by": [
    "string"
  ],
  "id": "string",
  "last_query_ts": 0,
  "limit": 0,
  "next_query": {},
  "query_params": {},
  "retrieved_fields": [
    "string"
  ],
  "retrieved_fields_mask": true,
  "sort_params": {},
  "total_count": 0
}
ResponseClear

Click the Send API Request button above and see the response here!