+ {
+ "name": "Fetch All Policy Audit Records",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit?recordCount=5",
+ "host": [
+ "{{POLICY-PAP-URL}}"
+ ],
+ "path": [
+ "policy",
+ "pap",
+ "v1",
+ "policies",
+ "audit"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "fromDate",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "toDate",
+ "value": "1627478715",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "This is a generic API to fetch audit records of all policies in the database."
+ },
+ "response": []
+ },
+ {
+ "name": "Fetch All Policy Audit Records of a Group",
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup?recordCount=5",
+ "host": [
+ "{{POLICY-PAP-URL}}"
+ ],
+ "path": [
+ "policy",
+ "pap",
+ "v1",
+ "policies",
+ "audit",
+ "defaultGroup"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "fromDate",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "toDate",
+ "value": "1627478715",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "This is a generic API to fetch audit records of all policies in the database belonging to a PDP Group."
+ },
+ "response": []
+ },
+ {
+ "name": "Fetch Policy Audit Records of a Group",
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig/1.0.0?recordCount=5",
+ "host": [
+ "{{POLICY-PAP-URL}}"
+ ],
+ "path": [
+ "policy",
+ "pap",
+ "v1",
+ "policies",
+ "audit",
+ "defaultGroup",
+ "operational.modifyconfig",
+ "1.0.0"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "fromDate",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "toDate",
+ "value": "1627478715",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "This is an API to fetch audit records of a policy in the database belonging to a PDP Group."
+ },
+ "response": []
+ },
+ {
+ "name": "Fetch Policy Audit Records",
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/operational.modifyconfig/1.0.0?recordCount=5",
+ "host": [
+ "{{POLICY-PAP-URL}}"
+ ],
+ "path": [
+ "policy",
+ "pap",
+ "v1",
+ "policies",
+ "audit",
+ "operational.modifyconfig",
+ "1.0.0"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "fromDate",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "toDate",
+ "value": "1627478715",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "This is an API to fetch audit records of a policy in the database."
+ },
+ "response": []
+ },