Query Security Policy Set Stacks (v2.0)
POSThttps://api.sase.paloaltonetworks.com/sdwan/v2.0/api/ngfwsecuritypolicysetstacks/query
Query the security policy v2 set stacks of a tenant.
Request
- application/json
Body
aggregate Aggregate
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
- 200
Successful Operation
- application/json
- Schema
- Example (auto)
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[]
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"total_count": 0,
"items": [
{
"defaultrule_policyset_id": "string",
"id": "string",
"name": "string",
"policyset_ids": [
"string"
],
"tags": [
"string"
]
}
]
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
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
}'
ResponseClear